Procházet zdrojové kódy

* range check error

git-svn-id: trunk@3134 -
peter před 19 roky
rodič
revize
7923a81cfd
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/cclasses.pas

+ 1 - 1
compiler/cclasses.pas

@@ -1105,7 +1105,7 @@ end;
         pmax:=@s[length(s)+1];
         while (p<pmax) do
           begin
-            result:=((result shl 5) - result) xor LongWord(P^);
+            result:=LongWord((result shl 5) - result) xor LongWord(P^);
             inc(p);
           end;
 {$ifdef overflowon}