Removed some warning

This commit is contained in:
ptitSeb 2020-01-16 16:41:46 +01:00
parent 5493e5c35c
commit 4d1fa73ac7
2 changed files with 3 additions and 3 deletions

View File

@ -696,7 +696,7 @@ void my_setGlobalGThreadsInit(box86context_t* context)
int val = 1;
uintptr_t globoffs, globend;
if (GetGlobalNoWeakSymbolStartEnd(context->maplib, "g_threads_got_initialized", &globoffs, &globend)) {
printf_log(LOG_DEBUG, "Global g_threads_got_initialized workaround, @%p <= %p\n", (void*)globoffs, val);
printf_log(LOG_DEBUG, "Global g_threads_got_initialized workaround, @%p <= %p\n", (void*)globoffs, (void*)val);
memcpy((void*)globoffs, &val, sizeof(gdk_display));
}
}
@ -716,6 +716,6 @@ void my_signal_delete(my_signal_t* sig)
if(d) {
RunFunction(my_context, d, 1, sig->data);
}
printf_log(LOG_DEBUG, "gtk Data deleted, sig=%p, data=%p, destroy=%p\n", sig, sig->data, d);
printf_log(LOG_DEBUG, "gtk Data deleted, sig=%p, data=%p, destroy=%p\n", sig, sig->data, (void*)d);
free(sig);
}

View File

@ -132,7 +132,7 @@ static void signal_delete(my_signal_t* sig, void* b)
if(d) {
RunFunction(my_context, d, 2, sig->data, b);
}
printf_log(LOG_DEBUG, "gobject2 Signal deleted, sig=%p, destroy=%p\n", sig, d);
printf_log(LOG_DEBUG, "gobject2 Signal deleted, sig=%p, destroy=%p\n", sig, (void*)d);
free(sig);
}
EXPORT uintptr_t my_g_signal_connect_data(x86emu_t* emu, void* instance, void* detailed, void* c_handler, void* data, void* closure, uint32_t flags)