mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 15:05:27 +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…
x
Reference in New Issue
Block a user