mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
- fixed warnings in Blood.
This commit is contained in:
parent
39319a9582
commit
8606b2ea5a
3 changed files with 4 additions and 4 deletions
|
@ -465,7 +465,7 @@ uint8_t RFS::GetNextTag()
|
|||
break;
|
||||
}
|
||||
|
||||
if (eax == 0 && strlen(tags[i]._value) == ebp)
|
||||
if (eax == 0 && (int)strlen(tags[i]._value) == ebp)
|
||||
{
|
||||
scriptBuffer[ebp] = 0;
|
||||
return tags[i]._index;
|
||||
|
|
|
@ -394,7 +394,7 @@ static AISTATE* allAIStates[] =
|
|||
|
||||
FSerializer& Serialize(FSerializer& arc, const char* keyname, AISTATE*& w, AISTATE** def)
|
||||
{
|
||||
int i = 0;
|
||||
unsigned i = 0;
|
||||
if (arc.isWriting())
|
||||
{
|
||||
if (def && w == *def) return arc;
|
||||
|
@ -411,7 +411,7 @@ FSerializer& Serialize(FSerializer& arc, const char* keyname, AISTATE*& w, AISTA
|
|||
else
|
||||
{
|
||||
arc(keyname, i);
|
||||
if (i >= 0 && i < countof(allAIStates))
|
||||
if (i < countof(allAIStates))
|
||||
{
|
||||
w = allAIStates[i];
|
||||
}
|
||||
|
|
|
@ -3287,7 +3287,7 @@ void condError(XSPRITE* pXCond, const char* pzFormat, ...) {
|
|||
break;
|
||||
}
|
||||
|
||||
snprintf(buffer, 512, "\n\n%s CONDITION RX: %d, TX: %d, SPRITE: #%d RETURNS:\n", condType.GetChars(), pXCond->rxID, pXCond->txID, pXCond->reference);
|
||||
snprintf(buffer, 256, "\n\n%s CONDITION RX: %d, TX: %d, SPRITE: #%d RETURNS:\n", condType.GetChars(), pXCond->rxID, pXCond->txID, pXCond->reference);
|
||||
va_list args;
|
||||
va_start(args, pzFormat);
|
||||
vsnprintf(buffer2, 512, pzFormat, args);
|
||||
|
|
Loading…
Reference in a new issue