Skip to content
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...
1 parent 8e6e273 commit 48dec344c38ce2261a6cf9c3161a23f258c56cf1 arvidn committed Aug 24, 2008
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;

0 comments on commit 48dec34

Please sign in to comment.
Something went wrong with that request. Please try again.