Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix isprint() build issue with msvc

git-svn-id: http://libtorrent.svn.sourceforge.net/svnroot/libtorrent/trunk@2628 a83610d8-ad2a-0410-a6ab-fc0612d85776
  • Loading branch information...
commit 48dec344c38ce2261a6cf9c3161a23f258c56cf1 1 parent 8e6e273
arvidn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/identify_client.cpp
View
2  src/identify_client.cpp
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.