mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Fix -Wnon-literal-null-conversion and -Wconstant-conversion warnings
This commit is contained in:
parent
f94695390e
commit
b64dac714f
2 changed files with 2 additions and 2 deletions
|
@ -4375,7 +4375,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