compiler warning fix.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6255 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2022-05-28 18:00:30 +00:00
parent a84fa2e534
commit 4fc371c7b4
2 changed files with 3 additions and 3 deletions

View file

@ -1304,7 +1304,7 @@ void MSG_WriteSize16 (sizebuf_t *sb, int sz)
else
MSG_WriteShort(sb, 0);
}
void COM_DecodeSize(int solid, vec3_t mins, vec3_t maxs)
void COM_DecodeSize(int solid, float *mins, float *maxs)
{
#if 1
maxs[0] = maxs[1] = solid & 255;
@ -1318,7 +1318,7 @@ void COM_DecodeSize(int solid, vec3_t mins, vec3_t maxs)
maxs[2] = 8*((solid>>10) & 63) - 32;
#endif
}
int COM_EncodeSize(vec3_t mins, vec3_t maxs)
int COM_EncodeSize(const float *mins, const float *maxs)
{
int solid;
#if 1

View file

@ -383,7 +383,7 @@ void MSG_ReadSkip (int len);
int MSG_ReadSize16 (sizebuf_t *sb);
void MSG_WriteSize16 (sizebuf_t *sb, int sz);
void COM_DecodeSize(int solid, float *mins, float *maxs);
int COM_EncodeSize(float *mins, float *maxs);
int COM_EncodeSize(const float *mins, const float *maxs);
//============================================================================