forked from mirror/OpenTTD
(svn r5909) -Fix (r5908): silence signedness warning
This commit is contained in:
@@ -1342,7 +1342,7 @@ DEF_CONSOLE_CMD(ConPatch)
|
|||||||
if (argc == 2) {
|
if (argc == 2) {
|
||||||
IConsoleGetPatchSetting(argv[1]);
|
IConsoleGetPatchSetting(argv[1]);
|
||||||
} else {
|
} else {
|
||||||
int32 val;
|
uint32 val;
|
||||||
if (GetArgumentInteger(&val, argv[2])) IConsoleSetPatchSetting(argv[1], val);
|
if (GetArgumentInteger(&val, argv[2])) IConsoleSetPatchSetting(argv[1], val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user