mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 08:29:28 +02:00
* fixed val_sint(x,longint) for negative hex/bin values on 64 bit
platforms git-svn-id: trunk@6205 -
This commit is contained in:
parent
6c578f55df
commit
5f61271824
@ -747,8 +747,9 @@ begin
|
||||
Case DestSize of
|
||||
1: fpc_Val_SInt_ShortStr := shortint(fpc_Val_SInt_ShortStr);
|
||||
2: fpc_Val_SInt_ShortStr := smallint(fpc_Val_SInt_ShortStr);
|
||||
{ Uncomment the folling once full 64bit support is in place
|
||||
4: fpc_Val_SInt_ShortStr := SizeInt(fpc_Val_SInt_ShortStr);}
|
||||
{$ifdef cpu64}
|
||||
4: fpc_Val_SInt_ShortStr := longint(fpc_Val_SInt_ShortStr);
|
||||
{$endif cpu64}
|
||||
End;
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user