mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-26 18:53:44 +08:00
Fixed incompatible pointer warning in env_universal_common.c / iconv() call.
This commit is contained in:
parent
7a8b7201a1
commit
006952c571
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user