From e982c14bc34a48529ca0db1c016a768cce01e115 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Thu, 30 Nov 2006 00:01:21 +0000 Subject: 2006-11-29 Thomas Schwinge Fix compiler, flex and bison warnings. * error.c: Include . * lexxer.h (yylex): Add declaration. * migcom.c: Include . (main): Set USER, SHEADER and IHEADER to `NULL' by default. (myfclose): Add lost conversion specifications. * parser.h (yyerror): Add declaration. * routine.c (rtPrintArg, rtCheckRoutine): Add braces to avoid ambiguousness. * server.c (WriteSymTabEntries): Make NUM an `u_int'. * user.c (WriteUserIndividual): Add a `default' case in a switch statement and add lost conversion specifications. * lexxer.l: Set option `nounput'. * parser.y (%left): Change commas to spaces. --- server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server.c') diff --git a/server.c b/server.c index 2768d80..a49bb01 100644 --- a/server.c +++ b/server.c @@ -100,7 +100,7 @@ WriteSymTabEntries(FILE *file, const statement_t *stats) for (stat = stats; stat != stNULL; stat = stat->stNext) if (stat->stKind == skRoutine) { - register num = stat->stRoutine->rtNumber; + register u_int num = stat->stRoutine->rtNumber; const char *name = stat->stRoutine->rtName; while (++current <= num) -- cgit v1.2.3