Fix linux warning to make GCC compiler happy

This commit is contained in:
connorr 2013-08-24 23:42:18 +02:00
parent 31f5fdfa97
commit f23bda76a3
2 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ void UTIL_IntToString(int value, char *output);
void UTIL_ShowMOTD(edict_t *client, char *motd, int mlen, const char *name); void UTIL_ShowMOTD(edict_t *client, char *motd, int mlen, const char *name);
void UTIL_ShowMenu(edict_t* pEntity, int slots, int time, char *menu, int mlen); void UTIL_ShowMenu(edict_t* pEntity, int slots, int time, char *menu, int mlen);
void UTIL_ClientSayText(edict_t *pEntity, int sender, char *msg); void UTIL_ClientSayText(edict_t *pEntity, int sender, char *msg);
void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, char *pszTeamName); void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, const char *pszTeamName);
char *UTIL_VarArgs(const char *fmt, ...); char *UTIL_VarArgs(const char *fmt, ...);

View File

@ -309,7 +309,7 @@ void UTIL_ClientSayText(edict_t *pEntity, int sender, char *msg)
msg[190] = c; msg[190] = c;
} }
void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, char *pszTeamName) void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, const char *pszTeamName)
{ {
if (!gmsgTeamInfo) if (!gmsgTeamInfo)
return; return;