forked from mia/Aegisub
Add (const char**) cast to inptr in iconv to silence warning.
Originally committed to SVN as r3462.
This commit is contained in:
parent
a02a63c4e5
commit
256671d666
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ wchar_t TextFileReader::GetWChar() {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
do {
|
do {
|
||||||
size_t ret = iconv(conv, &inptr, &inbytesleft, reinterpret_cast<char **>(&outptr), &outbytesleft);
|
size_t ret = iconv(conv, (const char**)&inptr, &inbytesleft, reinterpret_cast<char **>(&outptr), &outbytesleft);
|
||||||
if (ret != (size_t)-1) break;
|
if (ret != (size_t)-1) break;
|
||||||
|
|
||||||
int err = errno;
|
int err = errno;
|
||||||
|
|
Loading…
Reference in a new issue