Commit e75d1bc0 authored by Rafaël Carré's avatar Rafaël Carré

win64: vlc_GetCPUCount: fix GetProcessAffinityMask arguments type

parent a7172a8f
...@@ -951,8 +951,8 @@ unsigned vlc_timer_getoverrun (vlc_timer_t timer) ...@@ -951,8 +951,8 @@ unsigned vlc_timer_getoverrun (vlc_timer_t timer)
unsigned vlc_GetCPUCount (void) unsigned vlc_GetCPUCount (void)
{ {
#ifndef UNDER_CE #ifndef UNDER_CE
DWORD process; DWORD_PTR process;
DWORD system; DWORD_PTR system;
if (GetProcessAffinityMask (GetCurrentProcess(), &process, &system)) if (GetProcessAffinityMask (GetCurrentProcess(), &process, &system))
return popcount (system); return popcount (system);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment