diff --git a/compiler/nadd.pas b/compiler/nadd.pas index fadd4153df..1e02b70b88 100644 --- a/compiler/nadd.pas +++ b/compiler/nadd.pas @@ -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);