]> git.pond.sub.org Git - empserver/commit - src/lib/update/nat.c
Use int instead of long for money
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 13 Jan 2013 16:59:29 +0000 (17:59 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Wed, 8 May 2013 04:57:54 +0000 (06:57 +0200)
commit5f46ced826801d12381c6d82135869c253ab764d
tree9ea43488d8ff65f133609c1c214149fabff06301
parent5ed02791f5d1b74eb383c52347eda41ce0256472
Use int instead of long for money

Code dealing with money mixes int and long pretty haphazardly.
Harmless, because practical amounts of money fit into int on any
machine capable of running the server.  Clean up anyway.
24 files changed:
include/budg.h
include/econfig-spec.h
include/loan.h
include/nat.h
include/prototypes.h
include/trade.h
src/lib/commands/budg.c
src/lib/commands/coll.c
src/lib/commands/cons.c
src/lib/commands/edit.c
src/lib/commands/fina.c
src/lib/commands/hard.c
src/lib/commands/repa.c
src/lib/commands/shark.c
src/lib/commands/trad.c
src/lib/commands/upgr.c
src/lib/common/nsc.c
src/lib/global/constants.c
src/lib/subs/caploss.c
src/lib/subs/disloan.c
src/lib/update/main.c
src/lib/update/nat.c
src/lib/update/sect.c
tests/smoke/smoke.out