1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00

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:
uz 2012-01-11 18:30:25 +00:00
parent 9820c3212c
commit 8ddcbc5f01

View File

@ -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);
}