mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 04:26:13 +02:00
* one more typecast fix
git-svn-id: trunk@8818 -
This commit is contained in:
parent
4486a2cecb
commit
eb6c8fa570
@ -60,7 +60,7 @@ begin
|
|||||||
{ simulate assembler implementations behaviour, which is expected }
|
{ simulate assembler implementations behaviour, which is expected }
|
||||||
{ fpc_pchar_to_ansistr in astrings.inc (interpret values < 0 as }
|
{ fpc_pchar_to_ansistr in astrings.inc (interpret values < 0 as }
|
||||||
{ unsigned) }
|
{ unsigned) }
|
||||||
res := memchr(buf,cint(b),size_t(len));
|
res := memchr(buf,cint(b),size_t(sizeuint(len)));
|
||||||
if (res <> nil) then
|
if (res <> nil) then
|
||||||
IndexByte := SizeInt(res-@buf)
|
IndexByte := SizeInt(res-@buf)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user