mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 03:49:05 +02:00
amunits: fixed position of dol_Name in the DosList struct. this also matches other Amiga-likes, and the RTL version of the header, where it was correct. also fixed a pointers vs. signedness warning.
git-svn-id: trunk@44045 -
This commit is contained in:
parent
56d64b007f
commit
2c12661a17
@ -945,7 +945,10 @@ Type
|
||||
dol_AssignName : STRPTR; { name for non-OR-late-binding assign }
|
||||
dol_List : pAssignList; { for multi-directory assigns (regular) }
|
||||
END;
|
||||
dol_Name : BSTR; { bptr to bcpl name }
|
||||
);
|
||||
3 : (
|
||||
dol_Misc : array[0..23] of byte;
|
||||
dol_Name : BSTR; { bptr to bcpl name }
|
||||
);
|
||||
END;
|
||||
|
||||
@ -1827,7 +1830,7 @@ END;
|
||||
|
||||
FUNCTION MKBADDR(adr : POINTER): BPTR; inline;
|
||||
BEGIN
|
||||
MKBADDR := BPTR( LONGINT(adr) shr 2);
|
||||
MKBADDR := BPTR( PTRUINT(adr) shr 2);
|
||||
END;
|
||||
|
||||
FUNCTION AllocDosObjectTags(type_ : ULONG; Const argv : Array of PtrUInt) : POINTER;
|
||||
|
Loading…
Reference in New Issue
Block a user