Explorar o código

* string -> shortstring

Michael VAN CANNEYT %!s(int64=3) %!d(string=hai) anos
pai
achega
21a693f5b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/i8086/stringss.inc

+ 1 - 1
rtl/i8086/stringss.inc

@@ -41,7 +41,7 @@
 
 
 {$ifndef FPC_UNIT_HAS_STRPCOPY}
 {$ifndef FPC_UNIT_HAS_STRPCOPY}
 {$define FPC_UNIT_HAS_STRPCOPY}
 {$define FPC_UNIT_HAS_STRPCOPY}
-function strpcopy(d : PAnsiChar;const s : string) : PAnsiChar;assembler;nostackframe;
+function strpcopy(d : PAnsiChar;const s : shortstring) : PAnsiChar;assembler;nostackframe;
 const
 const
   { used for an offset fixup for accessing the proc parameters in asm routines
   { used for an offset fixup for accessing the proc parameters in asm routines
     that use nostackframe. We can't use the parameter name directly, because
     that use nostackframe. We can't use the parameter name directly, because