Merge branch 'fix-wnon-literal-null-conversion-and-wconstant-conversion' into 'next'

Fix -Wnon-literal-null-conversion and -Wconstant-conversion warnings

See merge request STJr/SRB2!1929
This commit is contained in:
MascaraSnake 2023-03-02 09:12:24 +00:00
commit b5c3b30f13
2 changed files with 2 additions and 2 deletions

View file

@ -4396,7 +4396,7 @@ sector_t *P_FindPlayerTrigger(player_t *player, line_t *sourceline)
return loopsector;
}
return false;
return NULL;
}
boolean P_IsPlayerValid(size_t playernum)

View file

@ -472,5 +472,5 @@ mtag_t Tag_NextUnused(mtag_t start)
start++;
}
return MAXTAGS;
return (mtag_t)MAXTAGS;
}