mirror of
https://github.com/ptitSeb/box86.git
synced 2024-11-23 06:39:55 +00:00
Removed some warning
This commit is contained in:
parent
5493e5c35c
commit
4d1fa73ac7
@ -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);
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user