changeset 10068 | a32f54c91520 |
parent 10067 | 5fdba79c2cee |
--- a/src/cargopacket.cpp Wed Sep 03 10:30:07 2008 +0000 +++ b/src/cargopacket.cpp Wed Sep 03 13:25:56 2008 +0000 @@ -219,7 +219,7 @@ 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;