]> pd.if.org Git - pdclib/blobdiff - platform/win32/internals/_PDCLIB_threadconfig.h
win32: Fix warnings relating to definition of LONG and use of InterlockedCompareExchange
[pdclib] / platform / win32 / internals / _PDCLIB_threadconfig.h
index c311867e871297fac957528bc1d664090ba86a80..0f35d294f94e54632cb6235785fa54b81ea75a6f 100644 (file)
@@ -20,7 +20,7 @@ void _PDCLIB_call_once(_PDCLIB_once_flag *flag, void (*func)(void));
 \r
 struct _PDCLIB_mtx {\r
     void                   * _WaitEvHandle;\r
-    volatile unsigned long   _ThreadId; \r
+    volatile          long   _ThreadId; \r
     volatile unsigned  int   _NestCount;\r
 };\r
 \r