X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fhash.c;h=876b92f5e41c18fc222151dc28a573839ea4677a;hp=a2801b06fb543b3215022370d98619a2bb4b0fdf;hb=1c00ddffec83f60c37e5f1885b08256d563c6464;hpb=0df6a7610307e8044b1b72298198a8eb83977565 diff --git a/src/ngircd/hash.c b/src/ngircd/hash.c index a2801b06..876b92f5 100644 --- a/src/ngircd/hash.c +++ b/src/ngircd/hash.c @@ -9,7 +9,7 @@ * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS. * - * $Id: hash.c,v 1.3 2002/03/22 00:21:51 alex Exp $ + * $Id: hash.c,v 1.4 2002/03/25 19:11:01 alex Exp $ * * hash.c: Hash-Werte berechnen */ @@ -41,7 +41,7 @@ GLOBAL UINT32 Hash( CHAR *String ) strncpy( buffer, String, LINE_LEN - 1 ); buffer[LINE_LEN - 1] = '\0'; - return jenkins_hash( ngt_LowerStr( buffer ), strlen( buffer ), 42 ); + return jenkins_hash( (UINT8 *)ngt_LowerStr( buffer ), strlen( buffer ), 42 ); } /* Hash */