forked from mirror/OpenTTD
(svn r1631) A couple of fixes for the signed/unsigned warnings. Only train_cmd.c remains to need fixing...
This commit is contained in:
@@ -469,7 +469,7 @@ DEF_CONSOLE_CMD(ConResetCompany)
|
||||
NetworkClientInfo *ci;
|
||||
|
||||
if (argc == 2) {
|
||||
uint32 index = atoi(argv[1]);
|
||||
byte index = atoi(argv[1]);
|
||||
|
||||
/* Check valid range */
|
||||
if (index < 1 || index > MAX_PLAYERS) {
|
||||
|
Reference in New Issue
Block a user