You've already forked lazarus-ccr
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:
@ -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;
|
||||||
|
Reference in New Issue
Block a user