Fix issue

This commit is contained in:
2021-12-17 20:23:04 +08:00
parent a86d15be20
commit 0adefc79ea
2 changed files with 2 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ bool encoding::iconv_convert(std::string input, std::string& output, std::string
size_t buf_left = 0;
std::string out;
size_t avail_in = input.length();
auto in = input.c_str();
char* in = (char*)input.c_str();
if (!buf) {
iconv_close(cd);
return false;