Fix linux warning to make GCC compiler happy
authorconnorr
Sat Aug 24 23:42:18 2013 +0200 (2013-08-24)
changeset 18515c0ede492bc
parent 184 90ade3da43fa
child 186 23e7e65280de
Fix linux warning to make GCC compiler happy
amxmodx/amxmodx.h
amxmodx/util.cpp
     1.1 --- a/amxmodx/amxmodx.h	Sat Aug 24 01:14:54 2013 +0200
     1.2 +++ b/amxmodx/amxmodx.h	Sat Aug 24 23:42:18 2013 +0200
     1.3 @@ -144,7 +144,7 @@
     1.4  void UTIL_ShowMOTD(edict_t *client, char *motd, int mlen, const char *name);
     1.5  void UTIL_ShowMenu(edict_t* pEntity, int slots, int time, char *menu, int mlen);
     1.6  void UTIL_ClientSayText(edict_t *pEntity, int sender, char *msg);
     1.7 -void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, char *pszTeamName);
     1.8 +void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, const char *pszTeamName);
     1.9  
    1.10  char *UTIL_VarArgs(const char *fmt, ...);
    1.11  
     2.1 --- a/amxmodx/util.cpp	Sat Aug 24 01:14:54 2013 +0200
     2.2 +++ b/amxmodx/util.cpp	Sat Aug 24 23:42:18 2013 +0200
     2.3 @@ -309,7 +309,7 @@
     2.4  	msg[190] = c;
     2.5  }
     2.6  
     2.7 -void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, char *pszTeamName)
     2.8 +void UTIL_TeamInfo(edict_t *pEntity, int playerIndex, const char *pszTeamName)
     2.9  {
    2.10  	if (!gmsgTeamInfo)
    2.11  		return;