mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-03 19:31:56 +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}
|
||||
{$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}
|
||||
Begin
|
||||
@ -119,7 +119,7 @@
|
||||
|
||||
{$ifndef 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}
|
||||
Begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user