mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 22:29:24 +02:00
* fixed some type casts
git-svn-id: trunk@8817 -
This commit is contained in:
parent
6121df1f67
commit
4486a2cecb
@ -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,longint(b),cardinal(len));
|
||||
res := memchr(buf,cint(b),size_t(len));
|
||||
if (res <> nil) then
|
||||
IndexByte := SizeInt(res-@buf)
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user