Merged revisions 78 via svnmerge from

/trunk

git-svn-id: branches/fixes_2_0@81 -
This commit is contained in:
peter 2005-05-23 21:10:04 +00:00
parent 8b2d841c05
commit c730f5a48b

View File

@ -1001,10 +1001,8 @@ implementation
end;
{ When there is a signed type we convert to signed int.
Otherwise (both are unsigned) we keep the result also unsigned.
Exception is substraction, that also gives an signed result }
if (nodetype=subn) or
(is_signed(ld) or is_signed(rd)) then
Otherwise (both are unsigned) we keep the result also unsigned }
if (is_signed(ld) or is_signed(rd)) then
begin
inserttypeconv(right,sinttype);
inserttypeconv(left,sinttype);