diff options
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index 20872f7cc..c4b9af6ab 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -1836,7 +1836,7 @@ static void Load_ORDR() if (CheckSavegameVersionOldStyle(5, 2)) { /* Version older than 5.2 did not have a ->next pointer. Convert them (in the old days, the orderlist was 5000 items big) */ - uint len = SlGetFieldLength(); + size_t len = SlGetFieldLength(); uint i; if (CheckSavegameVersion(5)) { |