mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-16 10:50:07 +02:00
* fixes error introduced in sscanf() when looking for 64 bit unsafe pointer casts
git-svn-id: trunk@1632 -
This commit is contained in:
parent
23cd46151a
commit
7a1860190b
@ -2217,7 +2217,7 @@ function sscanf(const s: string; const fmt : string;const Pointers : array of Po
|
||||
begin
|
||||
if GetInt>0 then
|
||||
begin
|
||||
pPtrInt(Pointers[i])^:=StrToInt(s1);
|
||||
pLongint(Pointers[i])^:=StrToInt(s1);
|
||||
inc(Result);
|
||||
end
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user