fix MSVC failing to comepile due to mismatched paramter const-ness

This commit is contained in:
Hay1tsme
2026-08-24 01:32:53 -04:00
parent 1beeaf30b3
commit 6d2078f966
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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,