Browse Source

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

git-svn-id: trunk@39093 -

nickysn 7 years ago
parent
commit
8c842c1337
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/ogomf.pas

+ 2 - 2
compiler/ogomf.pas

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