Fix compiler warning.

This commit is contained in:
Jilles Tjoelker 2008-03-29 21:36:11 +01:00
parent 230a6e6c41
commit af58bf737a
1 changed files with 1 additions and 1 deletions

View File

@ -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))
{