Fix several VC++ Warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@38 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -168,7 +168,7 @@ static Section* NewSection (Segment* Seg, unsigned char Align, unsigned char Typ
|
||||
|
||||
/* Calculate the alignment bytes needed for the section */
|
||||
V = (0x01UL << S->Align) - 1;
|
||||
S->Fill = ((Seg->Size + V) & ~V) - Seg->Size;
|
||||
S->Fill = (unsigned char) (((Seg->Size + V) & ~V) - Seg->Size);
|
||||
|
||||
/* Adjust the segment size and set the section offset */
|
||||
Seg->Size += S->Fill;
|
||||
|
||||
Reference in New Issue
Block a user