mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 14:19:28 +02:00
* changed the sechdrofs,secstrofs and ImgOffset types to 32-bit to prevent
overflow errors on i8086 (ptruint is 16-bit in certain i8086 memory models; file offsets, however, still remain 32-bit) git-svn-id: trunk@39036 -
This commit is contained in:
parent
db3c88c871
commit
c8cbb1daea
@ -36,11 +36,11 @@ type
|
||||
isopen : boolean;
|
||||
nsects : longint;
|
||||
sechdrofs,
|
||||
secstrofs : ptruint;
|
||||
secstrofs : {$ifdef cpui8086}longword{$else}ptruint{$endif};
|
||||
processaddress : ptruint;
|
||||
FunctionRelative: boolean;
|
||||
// Offset of the binary image forming permanent offset to all retrieved values
|
||||
ImgOffset: ptruint;
|
||||
ImgOffset: {$ifdef cpui8086}longword{$else}ptruint{$endif};
|
||||
filename : string;
|
||||
// Allocate static buffer for reading data
|
||||
buf : array[0..4095] of byte;
|
||||
|
Loading…
Reference in New Issue
Block a user