From 006952c5719fc7d0b317324a02111f44c382a3ec Mon Sep 17 00:00:00 2001 From: Ben Hoskings Date: Wed, 2 Dec 2009 03:06:54 +1100 Subject: Fixed incompatible pointer warning in env_universal_common.c / iconv() call. --- env_universal_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'env_universal_common.c') diff --git a/env_universal_common.c b/env_universal_common.c index bafe25df..dde329be 100644 --- a/env_universal_common.c +++ b/env_universal_common.c @@ -255,7 +255,7 @@ static wchar_t *utf2wcs( const char *in ) return 0; } - nconv = iconv( cd, (const char **)&in, &in_len, &nout, &out_len ); + nconv = iconv( cd, (char **)&in, &in_len, &nout, &out_len ); if (nconv == (size_t) -1) { -- cgit v1.2.3