mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 19:29:09 +02:00
NtoLE() fix
This commit is contained in:
parent
034c361804
commit
9a8c6fe93d
@ -202,6 +202,7 @@ var
|
||||
fin, fout : file;
|
||||
NumRead : dWord;
|
||||
Buf : Array[1..2048] of byte;
|
||||
|
||||
begin
|
||||
|
||||
result:= false;
|
||||
@ -276,11 +277,11 @@ begin
|
||||
BlockWrite(f, header, sizeof(header));
|
||||
write0till(f, $10);
|
||||
|
||||
d:= $80010000;
|
||||
d:= NtoLE($80010000);
|
||||
BlockWrite(f, d, 4);
|
||||
d:= $FFFFFFFF;
|
||||
d:= NtoLE($FFFFFFFF);
|
||||
BlockWrite(f, d, 4);
|
||||
d:= $80010000;
|
||||
d:= NtoLE($80010000);
|
||||
BlockWrite(f, d, 4);
|
||||
|
||||
write0till(f, $30);
|
||||
|
Loading…
Reference in New Issue
Block a user