Fixed compilation warnings reported by GCC/Clang
b_game.cpp:537:27: warning: more '%' conversions than data arguments [-Wformat] g_game.cpp:2982:40: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'long' [-Wsign-compare]
This commit is contained in:
parent
f25c7ef2d5
commit
31d1018b9a
2 changed files with 3 additions and 3 deletions
|
|
@ -534,7 +534,7 @@ bool FCajunMaster::LoadBots ()
|
|||
}
|
||||
if (!sc.OpenFile(tmp))
|
||||
{
|
||||
Printf("Unable to open %s. So no bots\n");
|
||||
Printf("Unable to open %s. So no bots\n", tmp.GetChars());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
@ -665,4 +665,4 @@ DEFINE_ACTION_FUNCTION(FLevelLocals, RemoveAllBots)
|
|||
PARAM_BOOL(fromlist);
|
||||
bglobal.RemoveAllBots(fromlist);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue