瀏覽代碼

* string -> shortstring

Michael VAN CANNEYT 2 年之前
父節點
當前提交
40bb7d9bdf
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/powerpc/stringss.inc

+ 1 - 1
rtl/powerpc/stringss.inc

@@ -17,7 +17,7 @@
 
 {$ifndef FPC_UNIT_HAS_STRPCOPY}
 {$define FPC_UNIT_HAS_STRPCOPY}
-function strpcopy(d : PAnsiChar;const s : string) : PAnsiChar;assembler;
+function strpcopy(d : PAnsiChar;const s : shortstring) : PAnsiChar;assembler;
 asm
         { get length  }
         lbz     r0,0(r4)