mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +02:00
* fix compilation on i8086 where depending on the memory type code and data pointers may be different (Note: this does not mean that the code works as the RTTI data generated by the compiler does not seem valid either)
This commit is contained in:
parent
e30ca27914
commit
4aed151833
@ -7390,7 +7390,12 @@ var
|
||||
begin
|
||||
case (FPropInfo^.PropProcs shr 2) and 3 of
|
||||
ptField:
|
||||
{$ifdef cpu8086}
|
||||
{ convert to the correct pointer type }
|
||||
AValue.Cast(FPropInfo^.PropType).ExtractRawData(PPointer(@(FPropInfo^.SetProc))^);
|
||||
{$else}
|
||||
AValue.Cast(FPropInfo^.PropType).ExtractRawData(FPropInfo^.SetProc);
|
||||
{$endif}
|
||||
ptStatic,
|
||||
ptVirtual:
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user