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

@@ -303,7 +303,7 @@ static void FreeO65RelocTab (O65RelocTab* R)
static void O65RelocPutByte (O65RelocTab* R, unsigned char B)
static void O65RelocPutByte (O65RelocTab* R, unsigned B)
/* Put the byte into the relocation table */
{
/* Do we have enough space in the buffer? */
@@ -316,7 +316,7 @@ static void O65RelocPutByte (O65RelocTab* R, unsigned char B)
}
/* Put the byte into the buffer */
R->Buf [R->Fill++] = B;
R->Buf [R->Fill++] = (unsigned char) B;
}
@@ -454,7 +454,7 @@ static unsigned O65WriteExpr (ExprNode* E, int Signed, unsigned Size,
O65RelocPutByte (D->CurReloc, 0xFF);
Diff -= 0xFE;
}
O65RelocPutByte (D->CurReloc, Diff);
O65RelocPutByte (D->CurReloc, (unsigned char) Diff);
/* Remember this offset for the next time */
D->LastOffs = Offs;