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
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user