mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-06 13:49:38 +01:00
* fixed type of size parameter of strn(case)cmp
git-svn-id: trunk@30487 -
This commit is contained in:
parent
101fc3d4ec
commit
67be73afa5
@ -108,7 +108,7 @@
|
|||||||
|
|
||||||
{$ifndef FPC_UNIT_HAS_STRLCOMP}
|
{$ifndef FPC_UNIT_HAS_STRLCOMP}
|
||||||
{$define FPC_UNIT_HAS_STRLCOMP}
|
{$define FPC_UNIT_HAS_STRLCOMP}
|
||||||
function libc_strncmp(const str1,str2: pchar; l: Cardinal): longint; cdecl; external 'c' name 'strncmp';
|
function libc_strncmp(const str1,str2: pchar; l: sizeint): longint; cdecl; external 'c' name 'strncmp';
|
||||||
|
|
||||||
function StrLComp(Str1, Str2 : PChar; L: SizeInt): SizeInt;{$ifdef SYSTEMINLINE}inline;{$endif}
|
function StrLComp(Str1, Str2 : PChar; L: SizeInt): SizeInt;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||||
Begin
|
Begin
|
||||||
@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
{$ifndef FPC_UNIT_HAS_STRLICOMP}
|
{$ifndef FPC_UNIT_HAS_STRLICOMP}
|
||||||
{$define FPC_UNIT_HAS_STRLICOMP}
|
{$define FPC_UNIT_HAS_STRLICOMP}
|
||||||
function libc_strncasecmp(const str1,str2: pchar; l: Cardinal): longint; cdecl; external 'c' name 'strncasecmp';
|
function libc_strncasecmp(const str1,str2: pchar; l: sizeint): longint; cdecl; external 'c' name 'strncasecmp';
|
||||||
|
|
||||||
function StrLIComp(Str1, Str2 : PChar; L: SizeInt): SizeInt;{$ifdef SYSTEMINLINE}inline;{$endif}
|
function StrLIComp(Str1, Str2 : PChar; L: SizeInt): SizeInt;{$ifdef SYSTEMINLINE}inline;{$endif}
|
||||||
Begin
|
Begin
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user