Revert r3462, this is the same issue as described in r3466. Someone on windows will need to sort this out.

Originally committed to SVN as r3470.
This commit is contained in:
Amar Takhar 2009-09-02 11:03:52 +00:00
parent 65d2eda681
commit bf275da4de
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ wchar_t TextFileReader::GetWChar() {
return 0;
do {
size_t ret = iconv(conv, (const char**)&inptr, &inbytesleft, reinterpret_cast<char **>(&outptr), &outbytesleft);
size_t ret = iconv(conv, &inptr, &inbytesleft, reinterpret_cast<char **>(&outptr), &outbytesleft);
if (ret != (size_t)-1) break;
int err = errno;