multithreadprocs: fixed windows range check

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@630 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
mgaertner
2008-12-15 11:40:11 +00:00
parent 73a72ee52c
commit 40949b9509

View File

@ -50,7 +50,7 @@ begin
then begin then begin
Result := 0; Result := 0;
for i := 0 to 31 do begin for i := 0 to 31 do begin
Mask := 1 shl i; Mask := DWord(1) shl i;
if (ProcessAffinityMask and Mask)<>0 then if (ProcessAffinityMask and Mask)<>0 then
inc(Result); inc(Result);
end; end;