Fix several VC++ warnings
git-svn-id: svn://svn.cc65.org/cc65/trunk@39 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -237,7 +237,7 @@ static void DoAlign (void)
|
||||
|
||||
/* Check if the alignment is a power of two */
|
||||
Bit = BitFind (Align);
|
||||
if (Align != (0x01UL << Bit)) {
|
||||
if (Align != (0x01L << Bit)) {
|
||||
Error (ERR_ALIGN);
|
||||
} else {
|
||||
SegAlign (Bit, (int) Val);
|
||||
@@ -739,7 +739,7 @@ static void DoLocalChar (void)
|
||||
if (IVal != '@' && IVal != '?') {
|
||||
Error (ERR_ILLEGAL_LOCALSTART);
|
||||
} else {
|
||||
LocalStart = IVal;
|
||||
LocalStart = (char) IVal;
|
||||
}
|
||||
NextTok ();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user