Fixing lots of warnings
svn-id: r26617
This commit is contained in:
parent
4958b58622
commit
b4e196e4fd
9 changed files with 12 additions and 14 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue