aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-11-19 22:24:51 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-11-19 22:24:51 +0100
commit8976f5e1a26b37d5854cb4ec12c405f7a1b12472 (patch)
tree2bff68d495397082254f071dfd9b7c0aa8897481
parentb739e806e2a5c601aee3e2bc2596e891725887d0 (diff)
Changed parameter type of Language() to unsigned
-rw-r--r--FICS/variable.c2
-rw-r--r--FICS/variable.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/FICS/variable.c b/FICS/variable.c
index 8837c96..29d75ff 100644
--- a/FICS/variable.c
+++ b/FICS/variable.c
@@ -465,7 +465,7 @@ set_width(int p, char *var, char *val)
}
PUBLIC char *
-Language(int i)
+Language(unsigned int i)
{ // XXX
static char *Lang[NUM_LANGS] = {
"English",
diff --git a/FICS/variable.h b/FICS/variable.h
index 3c13eae..1c1a331 100644
--- a/FICS/variable.h
+++ b/FICS/variable.h
@@ -44,7 +44,7 @@ typedef struct _var_list {
extern var_list variables[];
-extern char *Language(int);
+extern char *Language(unsigned int);
extern int var_set(int, char *, char *, int *);
#endif /* _VARIABLE_H */