Use int instead of long to count people

Code dealing with counting people mixes int and long pretty
haphazardly.  Harmless, because practical populations fit into int
easily on any machine capable of running the server.  Clean up anyway.
This commit is contained in:
Markus Armbruster 2013-01-13 15:04:24 +01:00
parent 948757cb0c
commit 5d7f011900
6 changed files with 12 additions and 12 deletions

View file

@ -94,7 +94,7 @@ prepare_sects(int etu, struct bp *bp)
}
void
tax(struct sctstr *sp, struct natstr *np, int etu, long *pop, int *civ_tax,
tax(struct sctstr *sp, struct natstr *np, int etu, int *pop, int *civ_tax,
int *uw_tax, int *mil_pay)
{
*civ_tax = 0;