ntdll: Fix SMT CPU flag reporting.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Paul Gofman 2020-11-20 14:17:40 +03:00 committed by Alexandre Julliard
parent f7e646ccb7
commit 03cebb22d8
1 changed files with 1 additions and 1 deletions

View File

@ -538,8 +538,8 @@ static DWORD count_bits(ULONG_PTR mask)
DWORD count = 0;
while (mask > 0)
{
if (mask & 1) ++count;
mask >>= 1;
count++;
}
return count;
}