From b68f9fef32971095836ea6bbeb2f12af417120d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Date: Wed, 4 May 2011 22:12:55 +0200 Subject: cleanup: shut up more warnings --- mp_msg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mp_msg.c') diff --git a/mp_msg.c b/mp_msg.c index d069b1d019..c3fc1a984c 100644 --- a/mp_msg.c +++ b/mp_msg.c @@ -71,7 +71,7 @@ const char* filename_recode(const char* filename) filename_len = strlen(filename); max_path = MSGSIZE_MAX - 4; precoded = recoded_filename; - if (iconv(inv_msgiconv, &filename, &filename_len, + if (iconv(inv_msgiconv, (char **)&filename, &filename_len, &precoded, &max_path) == (size_t)(-1) && errno == E2BIG) { precoded[0] = precoded[1] = precoded[2] = '.'; precoded += 3; -- cgit v1.2.3