mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-04 19:50:54 +02:00
* fixed tppufile.getaint for 8/16-bit CPUs
git-svn-id: trunk@24484 -
This commit is contained in:
parent
478243254e
commit
0d58fd6cd0
@ -790,11 +790,12 @@ begin
|
|||||||
result:=0;
|
result:=0;
|
||||||
end;
|
end;
|
||||||
{$else not generic_cpu}
|
{$else not generic_cpu}
|
||||||
{$ifdef cpu64bitalu}
|
case sizeof(aint) of
|
||||||
result:=getint64
|
8: result:=getint64;
|
||||||
{$else cpu64bitalu}
|
4: result:=getlongint;
|
||||||
result:=getlongint;
|
2: result:=smallint(getword);
|
||||||
{$endif cpu64bitalu}
|
1: result:=shortint(getbyte);
|
||||||
|
end;
|
||||||
{$endif not generic_cpu}
|
{$endif not generic_cpu}
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user