Browse Source

* arrays now use the native int type as index

git-svn-id: trunk@48 -
florian 20 years ago
parent
commit
8994c6362c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/nmem.pas

+ 1 - 1
compiler/nmem.pas

@@ -662,7 +662,7 @@ implementation
             not(is_char(right.resulttype.def)) and
             not(is_char(right.resulttype.def)) and
             not(is_boolean(right.resulttype.def)) then
             not(is_boolean(right.resulttype.def)) then
            begin
            begin
-             inserttypeconv(right,s32inttype);
+             inserttypeconv(right,sinttype);
            end;
            end;
 
 
          case left.resulttype.def.deftype of
          case left.resulttype.def.deftype of