summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 15:43:10 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-09 15:43:10 +0000
commit2b8c7fada77a0b5a5ddcf4947b4e4d3bdb9ccdc7 (patch)
tree499a99de8d5c9a4339ddb4703e4906c948fb5aed
parentb15212c6463b1588e48eb52eba9bb4eaab90092d (diff)
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
-rw-r--r--src/hashcomp.cpp4
-rwxr-xr-xsrc/svn-rev.sh2
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