From 2b8c7fada77a0b5a5ddcf4947b4e4d3bdb9ccdc7 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 9 Mar 2006 15:43:10 +0000 Subject: Changed to unsigned char to get rid of warnings git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3598 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/hashcomp.cpp | 4 ++-- 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::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 -- cgit v1.2.3