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

This commit is contained in:
Jaime Ita Passos 2023-01-28 00:12:29 -03:00
parent f94695390e
commit b64dac714f
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

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