summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-23 13:52:31 +0000
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>2013-06-23 13:52:31 +0000
commitedace37d18d45e998f237a78bd77b50c239aeabe (patch)
treed0c708525089b18b30d3dad720c0ea38c3260943
parent794d4dea8bd0df015498b18edb4af981bb2d2240 (diff)
- hostmask.c:hash_text(): removed pointless cast
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/ircd-hybrid/branches/8.1.x@2332 82007160-df01-0410-b94d-b575c5fd34c7
-rw-r--r--src/hostmask.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostmask.c b/src/hostmask.c
index 60e3fd9..4cf0845 100644
--- a/src/hostmask.c
+++ b/src/hostmask.c
@@ -413,7 +413,7 @@ hash_text(const char *start)
uint32_t h = 0;
for (; *p; ++p)
- h = (h << 4) - (h + (unsigned char)ToLower(*p));
+ h = (h << 4) - (h + ToLower(*p));
return h & (ATABLE_SIZE - 1);
}