diff --git a/common/unityhook/doorstop.c b/common/unityhook/doorstop.c index 3ca60d4..c78fa03 100644 --- a/common/unityhook/doorstop.c +++ b/common/unityhook/doorstop.c @@ -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 diff --git a/games/divaio/touch/wintouch.c b/games/divaio/touch/wintouch.c index 64c60d6..5cc9959 100644 --- a/games/divaio/touch/wintouch.c +++ b/games/divaio/touch/wintouch.c @@ -9,7 +9,7 @@ static HRESULT diva_wintouch_init(); static void diva_wintouch_update(diva_io_touch_callback_t callback); -static void diva_handle_touch(UINT cInputs, PTOUCHINPUT pInputs); +static void diva_handle_touch(const UINT cInputs, const PTOUCHINPUT pInputs); static const struct diva_touch_backend diva_wintouch_backend = { .init = diva_wintouch_init,