summaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-11-30 00:01:21 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-11-30 00:01:21 +0000
commite982c14bc34a48529ca0db1c016a768cce01e115 (patch)
treebdf201b23b9ec594b4e05704e2119b2e664b10a8 /server.c
parent53280ebcfd46a129f34d6853a093c3cb425a068a (diff)
2006-11-29 Thomas Schwinge <tschwinge@gnu.org>
Fix compiler, flex and bison warnings. * error.c: Include <stdlib.h>. * lexxer.h (yylex): Add declaration. * migcom.c: Include <stdlib.h>. (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.
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
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)