forked from premiere/premiere-libtorrent
fixed type cast for std::isprint, to avoid assert
This commit is contained in:
parent
5a922dd3ef
commit
a22f6b6359
|
@ -376,7 +376,7 @@ namespace libtorrent
|
|||
for (int i = 0; i < e.string_length(); ++i)
|
||||
{
|
||||
using namespace std;
|
||||
if (isprint(str[i])) continue;
|
||||
if (isprint((unsigned char)str[i])) continue;
|
||||
printable = false;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue