Use int instead of long for military reserves

Code dealing with reserves mixes int and long pretty haphazardly.
Harmless, because practical reserves fit easily on any machine capable
of running the server.  Clean up anyway.
This commit is contained in:
Markus Armbruster 2013-01-13 16:13:15 +01:00
parent 5d7f011900
commit 74b8b9932d
8 changed files with 13 additions and 13 deletions

View 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;
}