(svn r20512) -Fix [FS#4036]: Generation seed is unsigned.

This commit is contained in:
frosch 2010-08-16 09:44:05 +00:00
parent 65b43667fa
commit 31bebd3ad5
1 changed files with 1 additions and 1 deletions

View File

@ -970,7 +970,7 @@ DEF_CONSOLE_CMD(ConNewGame)
return true;
}
StartNewGameWithoutGUI((argc == 2) ? (uint)atoi(argv[1]) : GENERATE_NEW_SEED);
StartNewGameWithoutGUI((argc == 2) ? strtoul(argv[1], NULL, 10) : GENERATE_NEW_SEED);
return true;
}