]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/budg.c
Use int instead of long for military reserves
[empserver] / src / lib / commands / budg.c
index df2b9d38170009d8d5c70fb50bcf4c82d21646e9..3f1dd758eb6c1c3988636e0f63b70b37723d43ce 100644 (file)
@@ -144,7 +144,7 @@ budg(void)
     }
     if (mil) {
        n = (mil - np->nat_reserve * money_res * etu) / (etu * money_mil);
-       sprintf(in, "%d mil, %d res", n, (int)np->nat_reserve);
+       sprintf(in, "%d mil, %d res", n, np->nat_reserve);
        pr("Military payroll\t\t%-32s%8d\n", in, -mil);
        expenses -= mil;
     }