summaryrefslogtreecommitdiffstats
path: root/mp_msg.c
diff options
context:
space:
mode:
Diffstat (limited to 'mp_msg.c')
-rw-r--r--mp_msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp_msg.c b/mp_msg.c
index cff4decb75..d069b1d019 100644
--- a/mp_msg.c
+++ b/mp_msg.c
@@ -311,7 +311,7 @@ char *mp_gtext(const char *string)
string = gettext(string);
setlocale(LC_MESSAGES, "C");
#endif
- return string;
+ return (char *)string;
}
void mp_tmsg(int mod, int lev, const char *format, ...)