mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
Quiet a couple GCC warnings
This commit is contained in:
parent
4228721351
commit
26eb335622
2 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ void FName::NameManager::InitBuckets ()
|
|||
// Register built-in names. 'None' must be name 0.
|
||||
for (size_t i = 0; i < countof(PredefinedNames); ++i)
|
||||
{
|
||||
assert((NULL == FindName(PredefinedNames[i], true)) && "Predefined name already inserted");
|
||||
assert((0 == FindName(PredefinedNames[i], true)) && "Predefined name already inserted");
|
||||
FindName (PredefinedNames[i], false);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3777,7 +3777,7 @@ int P_ExecuteSpecial(int num,
|
|||
int arg4,
|
||||
int arg5)
|
||||
{
|
||||
if (num >= 0 && num < countof(LineSpecials))
|
||||
if (num >= 0 && num < (int)countof(LineSpecials))
|
||||
{
|
||||
return LineSpecials[num](line, activator, backSide, arg1, arg2, arg3, arg4, arg5);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue