mirror of https://github.com/OpenTTD/OpenTTD
(svn r5909) -Fix (r5908): silence signedness warning
parent
029105ea1c
commit
cb21b5b076
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue