From af58bf737a5f34fddc2eea64ee863c23d02f8c1c Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 29 Mar 2008 21:36:11 +0100 Subject: [PATCH] Fix compiler warning. --- modules/core/m_message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/core/m_message.c b/modules/core/m_message.c index 8f6e7eb..fc00894 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -580,7 +580,7 @@ add_target(struct Client *source_p, struct Client *target_p) if(source_p->localClient->target_last > CurrentTime && IsOper(target_p)) return 1; - hashv = fnv_hash_upper(use_id(target_p), 32); + hashv = fnv_hash_upper((const unsigned char *)use_id(target_p), 32); if(USED_TARGETS(source_p)) {