mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 02:46:16 +01:00
Fix signedness warning in glib/gthread-win32.c
glib/gthread-win32.c: In function 'g_system_thread_new': glib/gthread-win32.c:507:37: warning: comparison of integer expressions of different signedness: 'DWORD' {aka 'long unsigned int'} and 'int' if (ResumeThread (thread->handle) == -1) ^~
This commit is contained in:
parent
e212c5a28d
commit
c9b4b0e765
@ -514,7 +514,7 @@ g_system_thread_new (GThreadFunc proxy,
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ResumeThread (thread->handle) == -1)
|
if (ResumeThread (thread->handle) == (DWORD) -1)
|
||||||
{
|
{
|
||||||
message = "Error resuming new thread";
|
message = "Error resuming new thread";
|
||||||
goto error;
|
goto error;
|
||||||
|
Loading…
Reference in New Issue
Block a user