From 9335a28cb5af25de41d762b70816d2e6b7dc98ee Mon Sep 17 00:00:00 2001 From: skidd13 Date: Fri, 27 Jun 2008 17:46:43 +0000 Subject: (svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant --- src/cargopacket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cargopacket.cpp') diff --git a/src/cargopacket.cpp b/src/cargopacket.cpp index b743ebd16..244463977 100644 --- a/src/cargopacket.cpp +++ b/src/cargopacket.cpp @@ -242,7 +242,7 @@ bool CargoList::MoveTo(CargoList *dest, uint count, CargoList::MoveToAction mta, if (mta == MTA_FINAL_DELIVERY && !tmp.Empty()) { /* There are some packets that could not be delivered at the station, put them back */ - tmp.MoveTo(this, MAX_UVALUE(uint)); + tmp.MoveTo(this, UINT_MAX); tmp.packets.clear(); } -- cgit v1.2.3-54-g00ecf