* changed the type of the 'size' parameter of TOmfObjOutput.AddSegment to

TObjSectionOfs instead of aword

git-svn-id: trunk@39093 -
This commit is contained in:
nickysn 2018-05-22 13:48:55 +00:00
parent f5862efcd4
commit 8c842c1337

View File

@ -122,7 +122,7 @@ interface
FGroups: TFPHashObjectList;
procedure AddSegment(const name,segclass,ovlname: string;
Alignment: TOmfSegmentAlignment; Combination: TOmfSegmentCombination;
Use: TOmfSegmentUse; Size: aword);
Use: TOmfSegmentUse; Size: TObjSectionOfs);
procedure AddGroup(const groupname: string; seglist: array of const);
procedure AddGroup(const groupname: string; seglist: TSegmentList);
procedure WriteSections(Data:TObjData);
@ -687,7 +687,7 @@ implementation
procedure TOmfObjOutput.AddSegment(const name, segclass, ovlname: string;
Alignment: TOmfSegmentAlignment; Combination: TOmfSegmentCombination;
Use: TOmfSegmentUse; Size: aword);
Use: TOmfSegmentUse; Size: TObjSectionOfs);
var
s: TOmfRecord_SEGDEF;
begin