From 8ddcbc5f012467e2ed7d199c709ca594ac8fe76b Mon Sep 17 00:00:00 2001 From: uz Date: Wed, 11 Jan 2012 18:30:25 +0000 Subject: [PATCH] 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 --- src/ca65/segment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ca65/segment.c b/src/ca65/segment.c index 1e3196fe7..c6a08b56d 100644 --- a/src/ca65/segment.c +++ b/src/ca65/segment.c @@ -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); } -- 2.39.5