mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Fixed incompatible pointer warning in env_universal_common.c / iconv() call.
This commit is contained in:
parent
7a8b7201a1
commit
006952c571
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue