- silence some warnings.

This commit is contained in:
Christoph Oelckers 2021-11-06 18:26:47 +01:00
parent e69e1b9908
commit 13306e900d
2 changed files with 2 additions and 2 deletions

View file

@ -405,7 +405,7 @@ int32_t try_facespr_intersect(uspriteptr_t const spr, vec3_t const in,
#define INITIALUPDATESECTORDIST 256
void updatesector(int const x, int const y, int * const sectnum) ATTRIBUTE((nonnull(3)));
[[deprecated]]
inline void updatesector(int32_t const x, int32_t const y, int16_t * const sectnum) ATTRIBUTE((nonnull(3)))
inline void updatesector(int32_t const x, int32_t const y, int16_t * const sectnum)
{
int snum = *sectnum;
updatesector(x, y, &snum);

View file

@ -132,7 +132,7 @@ public:
RenderCommand()
{
memset(this, 0, sizeof(*this));
memset((void*)this, 0, sizeof(*this));
}
// If these fields match, two draw commands can be batched.