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