diff options
-rw-r--r-- | src/hashcomp.cpp | 4 | ||||
-rwxr-xr-x | src/svn-rev.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/hashcomp.cpp b/src/hashcomp.cpp index 7ce1651f5..f322b69da 100644 --- a/src/hashcomp.cpp +++ b/src/hashcomp.cpp @@ -85,8 +85,8 @@ size_t nspace::hash<string>::operator()(const string &s) const bool irc::StrHashComp::operator()(const std::string& s1, const std::string& s2) const { - char* n1 = (char*)s1.c_str(); - char* n2 = (char*)s2.c_str(); + unsigned char* n1 = (unsigned char*)s1.c_str(); + unsigned char* n2 = (unsigned char*)s2.c_str(); for (; *n1 && *n2; n1++, n2++) if (lowermap[*n1] != lowermap[*n2]) return false; diff --git a/src/svn-rev.sh b/src/svn-rev.sh index 74ad7dc66..8a5cd0790 100755 --- a/src/svn-rev.sh +++ b/src/svn-rev.sh @@ -1 +1 @@ -echo 3595 +echo 3597 |