浏览代码

* use ObjpasInt instead of longint in fpc_shortstr_currency (generates shorter
and more efficient code on 16 and 8-bit targets)

git-svn-id: trunk@35484 -

nickysn 8 年之前
父节点
当前提交
2fbe5d2a8b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rtl/inc/sstrings.inc

+ 1 - 1
rtl/inc/sstrings.inc

@@ -679,7 +679,7 @@ const
   MinLen = 8; { Minimal string length in scientific format }
 var
   buf : array[1..19] of char;
-  i,j,k,reslen,tlen,sign,r,point : longint;
+  i,j,k,reslen,tlen,sign,r,point : ObjpasInt;
   ic : qword;
 begin
   fillchar(buf,length(buf),'0');