Fixing lots of warnings

svn-id: r26617
This commit is contained in:
Max Horn 2007-04-27 19:54:14 +00:00
parent 4958b58622
commit b4e196e4fd
9 changed files with 12 additions and 14 deletions

View file

@ -984,7 +984,7 @@ void removeBackgroundIncrust(int overlay, int idx, backgroundIncrustStruct* pHea
(pCurrent->X == var_4) &&
(pCurrent->Y == var_6))
{
pCurrent->field_6 = -1;
pCurrent->field_6 = (uint16)-1;
}
pCurrent = pCurrent->next;
@ -995,7 +995,7 @@ void removeBackgroundIncrust(int overlay, int idx, backgroundIncrustStruct* pHea
while(pCurrent)
{
if(pCurrent->field_6 == -1)
if(pCurrent->field_6 == (uint16)-1)
{
backgroundIncrustStruct* pNext = pCurrent->next;
backgroundIncrustStruct* bx = pCurrentHead;