mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
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:
commit
b5c3b30f13
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
|
@ -472,5 +472,5 @@ mtag_t Tag_NextUnused(mtag_t start)
|
|||
start++;
|
||||
}
|
||||
|
||||
return MAXTAGS;
|
||||
return (mtag_t)MAXTAGS;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue