From 9971541d78361ff9783fa90571222448f8ad1e80 Mon Sep 17 00:00:00 2001 From: connorr Date: Sat, 24 Aug 2013 23:42:18 +0200 Subject: [PATCH] Fix linux warning to make GCC compiler happy Former-commit-id: f23bda76a3bb25333a619e82703605ac1cc92308 --- amxmodx/amxmodx.h | 2 +- amxmodx/util.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/amxmodx/amxmodx.h b/amxmodx/amxmodx.h index a8f834d8..26d092ad 100755 --- a/amxmodx/amxmodx.h +++ b/amxmodx/amxmodx.h @@ -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, ...); diff --git a/amxmodx/util.cpp b/amxmodx/util.cpp index 438ebf8b..9236981d 100755 --- a/amxmodx/util.cpp +++ b/amxmodx/util.cpp @@ -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;