Fix several VC++ warnings

git-svn-id: svn://svn.cc65.org/cc65/trunk@39 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-06-08 21:02:46 +00:00
parent 386c3d412d
commit 048930265c
4 changed files with 5 additions and 6 deletions

View File

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