win64: vlc_GetCPUCount: fix GetProcessAffinityMask arguments type
authorRafaël Carré <funman@videolan.org>
Mon, 14 Nov 2011 03:23:29 +0000 (22:23 -0500)
committerRafaël Carré <funman@videolan.org>
Mon, 14 Nov 2011 03:23:29 +0000 (22:23 -0500)
src/win32/thread.c

index e8299f3..41dd908 100644 (file)
@@ -951,8 +951,8 @@ unsigned vlc_timer_getoverrun (vlc_timer_t timer)
 unsigned vlc_GetCPUCount (void)
 {
 #ifndef UNDER_CE
-    DWORD process;
-    DWORD system;
+    DWORD_PTR process;
+    DWORD_PTR system;
 
     if (GetProcessAffinityMask (GetCurrentProcess(), &process, &system))
         return popcount (system);