summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}