Explorar el Código

* changed the result of function Pos() to SizeInt (same type as the 'index'
variable it returns). Fixes the register allocation failure error when
compiling on i8086.

git-svn-id: trunk@39033 -

nickysn hace 7 años
padre
commit
8364b1f4ca
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      rtl/inc/lnfodwrf.pp

+ 1 - 1
rtl/inc/lnfodwrf.pp

@@ -316,7 +316,7 @@ begin
 end;
 
 
-function Pos() : Int64;
+function Pos() : SizeInt;
 begin
   Pos := index;
 end;