diff --git a/components/multithreadprocs/mtpcpu.pas b/components/multithreadprocs/mtpcpu.pas index 93e864e28..f1b8cf575 100644 --- a/components/multithreadprocs/mtpcpu.pas +++ b/components/multithreadprocs/mtpcpu.pas @@ -50,7 +50,7 @@ begin then begin Result := 0; for i := 0 to 31 do begin - Mask := 1 shl i; + Mask := DWord(1) shl i; if (ProcessAffinityMask and Mask)<>0 then inc(Result); end;