From 8976f5e1a26b37d5854cb4ec12c405f7a1b12472 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Tue, 19 Nov 2024 22:24:51 +0100 Subject: Changed parameter type of Language() to unsigned --- FICS/variable.c | 2 +- FICS/variable.h | 2 +- 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 */ -- cgit v1.2.3