fix isprint() build issue with msvc

This commit is contained in:
Arvid Norberg 2008-08-24 08:41:48 +00:00
parent add12da945
commit ae60562caf
1 changed files with 1 additions and 1 deletions

View File

@ -378,7 +378,7 @@ namespace libtorrent
std::string unknown("Unknown [");
for (peer_id::const_iterator i = p.begin(); i != p.end(); ++i)
{
unknown += isprint(*i)?*i:'.';
unknown += isprint(char(*i))?*i:'.';
}
unknown += "]";
return unknown;