mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:19:24 +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 }
|
||||
{ fpc_pchar_to_ansistr in astrings.inc (interpret values < 0 as }
|
||||
{ unsigned) }
|
||||
res := memchr(buf,cint(b),size_t(len));
|
||||
res := memchr(buf,cint(b),size_t(sizeuint(len)));
|
||||
if (res <> nil) then
|
||||
IndexByte := SizeInt(res-@buf)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user