Fix linux warning to make GCC compiler happy

Former-commit-id: f23bda76a3bb25333a619e82703605ac1cc92308
This commit is contained in:
connorr 2013-08-24 23:42:18 +02:00
parent 3b6c207ea8
commit 9971541d78
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_ShowMenu(edict_t* pEntity, int slots, int time, char *menu, int mlen);
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, ...);

View File

@ -309,7 +309,7 @@ void UTIL_ClientSayText(edict_t *pEntity, int sender, char *msg)
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)
return;