mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-11 01:49:50 +00:00
(svn r5909) -Fix (r5908): silence signedness warning
This commit is contained in:
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
Block a user