Michael VAN CANNEYT 2 лет назад
Родитель
Сommit
21a693f5b8
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      rtl/i8086/stringss.inc

+ 1 - 1
rtl/i8086/stringss.inc

@@ -41,7 +41,7 @@
 
 {$ifndef 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
   { 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