Fix several VC++ Warnings

git-svn-id: svn://svn.cc65.org/cc65/trunk@38 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-06-08 20:55:04 +00:00
parent 612627f5ca
commit 386c3d412d
4 changed files with 6 additions and 6 deletions

View File

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