mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 17:09:16 +02:00
* SizeInt -> SizeUInt for strPLCopy (Bug ID 26156)
git-svn-id: trunk@27802 -
This commit is contained in:
parent
046b7626dd
commit
6fcff07e50
@ -195,8 +195,8 @@ function StrMove(dest,source : PWideChar;l : SizeInt) : PWideChar; overload;
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
function StrPLCopy(Dest: PWideChar; const Source: UnicodeString; MaxLen: SizeInt): PWideChar; overload;
|
function StrPLCopy(Dest: PWideChar; const Source: UnicodeString; MaxLen: SizeUInt): PWideChar; overload;
|
||||||
var Len: SizeInt;
|
var Len: SizeUInt;
|
||||||
begin
|
begin
|
||||||
Len := length(Source);
|
Len := length(Source);
|
||||||
if Len > MaxLen then
|
if Len > MaxLen then
|
||||||
|
@ -36,7 +36,7 @@ Procedure UnicodeFmtStr(Var Res: UnicodeString; Const Fmt : UnicodeString; Const
|
|||||||
Procedure UnicodeFmtStr(Var Res: UnicodeString; Const Fmt : UnicodeString; Const args: Array of const; Const FormatSettings: TFormatSettings);
|
Procedure UnicodeFmtStr(Var Res: UnicodeString; Const Fmt : UnicodeString; Const args: Array of const; Const FormatSettings: TFormatSettings);
|
||||||
|
|
||||||
function StrMove(dest,source : PWideChar;l : SizeInt) : PWideChar; overload;
|
function StrMove(dest,source : PWideChar;l : SizeInt) : PWideChar; overload;
|
||||||
function StrPLCopy(Dest: PWideChar; const Source: UnicodeString; MaxLen: SizeInt): PWideChar; overload;
|
function StrPLCopy(Dest: PWideChar; const Source: UnicodeString; MaxLen: SizeUInt): PWideChar; overload;
|
||||||
function StrPCopy(Dest: PWideChar; const Source: UnicodeString): PWideChar; overload;
|
function StrPCopy(Dest: PWideChar; const Source: UnicodeString): PWideChar; overload;
|
||||||
function StrScan(P: PWideChar; C: WideChar): PWideChar; overload;
|
function StrScan(P: PWideChar; C: WideChar): PWideChar; overload;
|
||||||
function strnew(p : PWideChar) : PWideChar; overload;
|
function strnew(p : PWideChar) : PWideChar; overload;
|
||||||
|
Loading…
Reference in New Issue
Block a user