Skip to content

Commit

Permalink
Fix MSVC and Android builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored and KorGgenT committed Jul 16, 2020
1 parent 9f82fd3 commit c884f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ int main( int argc, const char *argv[] )

MAP_SHARING::setDefaults();

cli_opts cli = parse_commandline( argc, argv );
cli_opts cli = parse_commandline( argc, const_cast<const char **>( argv ) );

if( !dir_exist( PATH_INFO::datadir() ) ) {
printf( "Fatal: Can't find data directory \"%s\"\nPlease ensure the current working directory is correct or specify data directory with --datadir. Perhaps you meant to start \"cataclysm-launcher\"?\n",
Expand Down

0 comments on commit c884f02

Please sign in to comment.