mirror of
https://gitea.tendokyu.moe/TeamTofuShop/segatools.git
synced 2026-09-22 22:37:59 +03:00
fix MSVC failing to comepile due to mismatched paramter const-ness
This commit is contained in:
@@ -97,7 +97,7 @@ static void my_mono_jit_parse_options(int argc, const char** argv) {
|
||||
dprintf("Unity: Configuring mono debug server\n");
|
||||
|
||||
int size = argc + 1;
|
||||
const char** new_argv = calloc(size, sizeof(char*));
|
||||
char** new_argv = calloc(size, sizeof(char*));
|
||||
memcpy(new_argv, argv, argc * sizeof(char*));
|
||||
|
||||
//check if debug options are already set by env variable, if not, build it from config
|
||||
|
||||
Reference in New Issue
Block a user