Browse Source

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

git-svn-id: trunk@27050 -
nickysn 11 years ago
parent
commit
5ac193dfc3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/test/tbsx1.pp

+ 1 - 1
tests/test/tbsx1.pp

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