Fixed an error in calculation of the fill bytes necessary for alignment.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5396 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -312,7 +312,7 @@ void SegAlign (unsigned long Alignment, int FillVal)
|
||||
}
|
||||
|
||||
/* Calculate the number of fill bytes */
|
||||
Count = AlignCount (ActiveSeg->PC, Alignment) - ActiveSeg->PC;
|
||||
Count = AlignCount (ActiveSeg->PC, Alignment);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user