diff --git a/src/strings.cpp b/src/strings.cpp index c4faaa1a37..4fd54a454f 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -1072,7 +1072,7 @@ uint ConvertDisplayQuantityToCargoQuantity(CargoID cargo, uint quantity) */ static char *FormatString(char *buff, const char *str_arg, StringParameters &args, const char *last, uint case_index, bool game_script, bool dry_run) { - uint orig_offset = args.GetOffset(); + size_t orig_offset = args.GetOffset(); /* When there is no array with types there is no need to do a dry run. */ if (!dry_run) {