diff options
author | glx <glx@openttd.org> | 2008-09-03 13:25:56 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-09-03 13:25:56 +0000 |
commit | 7b78084150cf9b07d18e4e1e879630153a7e57e3 (patch) | |
tree | d26b7c288fc24c4e0f54c3881b230464c7e202b3 | |
parent | b6962222ee5ae22b801131ce00a90a83b9c70d7d (diff) | |
download | openttd-7b78084150cf9b07d18e4e1e879630153a7e57e3.tar.xz |
(svn r14235) -Fix (r14234): compilation with MSVC was broken
-rw-r--r-- | src/cargopacket.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cargopacket.cpp b/src/cargopacket.cpp index 44c3dfbbe..971db12ef 100644 --- a/src/cargopacket.cpp +++ b/src/cargopacket.cpp @@ -219,7 +219,7 @@ bool CargoList::MoveTo(CargoList *dest, uint count, CargoList::MoveToAction mta, if (mta != MTA_FINAL_DELIVERY) { CargoPacket *cp_new = new CargoPacket(); - Money fs = cp->feeder_share * count / cp->count; + Money fs = cp->feeder_share * count / static_cast<uint>(cp->count); cp->feeder_share -= fs; cp_new->source = cp->source; |