[vlc-commits] win64: vlc_GetCPUCount: fix GetProcessAffinityMask arguments type

Rafaël Carré git at videolan.org
Mon Nov 14 04:24:17 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov 13 22:23:29 2011 -0500| [e75d1bc06fd708648930eecb9e065d70e9858f4b] | committer: Rafaël Carré

win64: vlc_GetCPUCount: fix GetProcessAffinityMask arguments type

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e75d1bc06fd708648930eecb9e065d70e9858f4b
---

 src/win32/thread.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/win32/thread.c b/src/win32/thread.c
index e8299f3..41dd908 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -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);



More information about the vlc-commits mailing list