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:
parent
9820c3212c
commit
8ddcbc5f01
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue