]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/enli.c
Use int instead of long for military reserves
[empserver] / src / lib / commands / enli.c
index 7986ed52bcae97b79b5110b59239d303e6daba65..7e72549bfcbbc03b33ba0386e471d39b8741c632 100644 (file)
@@ -47,7 +47,7 @@ enli(void)
     int newmil;
     int milwant;
     int totalmil;
-    long reserve;
+    int reserve;
     char *p;
     int quota;
     char prompt[128];
@@ -123,7 +123,7 @@ enli(void)
        }
     }
     pr("Total new enlistment : %d\n", totalmil);
-    pr("Military reserves stand at %ld\n", reserve);
+    pr("Military reserves stand at %d\n", reserve);
     if (totalmil) {
        natp->nat_reserve -= totalmil;
        putnat(natp);