1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 11:33:03 +01:00

Fix arguments to main()

This commit is contained in:
Arnav Borborah
2017-10-16 18:04:40 -04:00
committed by Michał Janiszewski
parent 6a66ef8668
commit 8271da85a2
6 changed files with 8 additions and 8 deletions

View File

@@ -24,10 +24,10 @@ using namespace OpenRCT2;
/**
* Main entry point for non-Windows sytems. Windows instead uses its own DLL proxy.
*/
int main(int argc, char * * argv)
int main(int argc, const char * * argv)
{
core_init();
int runGame = cmdline_run((const char * *)argv, argc);
int runGame = cmdline_run(argv, argc);
if (runGame == 1)
{
gOpenRCT2Headless = true;