Sfoglia il codice sorgente

* fixed test tbsx1.pp for a 16-bit objpas.integer type

git-svn-id: trunk@27050 -
nickysn 11 anni fa
parent
commit
5ac193dfc3
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tests/test/tbsx1.pp

+ 1 - 1
tests/test/tbsx1.pp

@@ -83,7 +83,7 @@ var
 begin
   for i:=0 to 31 do
   begin
-    x32:=1 shl i;
+    x32:=cardinal(1) shl i;
     f:=BsfDWord(x32);
     if (f<>i) then
     begin