Skip to content
  • Emmanuel Fleury's avatar
    Fix cast from pointer to integer of different size warnings in glib/gthread-win32.c · 28dcec03
    Emmanuel Fleury authored
    glib/gthread-win32.c: In function 'g_private_get_impl':
    glib/gthread-win32.c:310:16: warning: cast from pointer to integer of different size
       DWORD impl = (DWORD) key->p;
                    ^
    glib/gthread-win32.c:315:14: warning: cast from pointer to integer of different size
           impl = (DWORD) key->p;
                  ^
    glib/gthread-win32.c: In function 'SetThreadName':
    glib/gthread-win32.c:596:60: warning: passing argument 4 of 'RaiseException' from incompatible pointer type
        RaiseException (EXCEPTION_SET_THREAD_NAME, 0, infosize, (DWORD *) &info);
                                                                ^~~~~~~~~~~~~~~
    28dcec03