* CompareWord and CompareDWord fixed for building with <2.3.1

git-svn-id: trunk@9087 -
This commit is contained in:
florian 2007-11-02 23:33:57 +00:00
parent 9ff58eb46f
commit b59fdbeb93

View File

@ -446,7 +446,7 @@ begin
inc(pptruint(psrc));
end;
end;
if (len <= high(ptruint) div 2) and
if (len <= high(ptrint)) and
(psrc+len >= psrc) then
pend:=psrc+len
else
@ -528,7 +528,7 @@ begin
inc(pptruint(psrc));
end;
end;
if (len <= high(ptruint) div 4) and
if (len <= high(ptrint) div 2) and
(psrc+len >= psrc) then
pend:=psrc+len
else