about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2002-12-26 13:16:54 +0000
committerAlexander Barton <alex@barton.de>2002-12-26 13:16:54 +0000
commit9353a4a9cb47673f83ac06d42a475838e753ff73 (patch)
tree57a5ad6ee5513b8f8e2fbe8135b43a74b0d97308
parent18dfd96635998f4dfaf972f40474117f683b8e5e (diff)
downloadngircd-9353a4a9cb47673f83ac06d42a475838e753ff73.tar.gz
ngircd-9353a4a9cb47673f83ac06d42a475838e753ff73.zip
- reverted last patch: now compatible with -Wtraditional of GCC 3.
-rw-r--r--src/ngircd/hash.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ngircd/hash.c b/src/ngircd/hash.c
index 79ad2b21..59cba404 100644
--- a/src/ngircd/hash.c
+++ b/src/ngircd/hash.c
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: hash.c,v 1.7 2002/12/25 13:22:43 alex Exp $";
+static char UNUSED id[] = "$Id: hash.c,v 1.8 2002/12/26 13:16:54 alex Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -87,7 +87,7 @@ jenkins_hash( register UINT8 *k, register UINT32 length, register UINT32 initval
 
 	/* Set up the internal state */
 	len = length;
-	a = b = 0x9e3779b9u;	/* the golden ratio; an arbitrary value */
+	a = b = 0x9e3779b9;	/* the golden ratio; an arbitrary value */
 	c = initval;		/* the previous hash value */
 
 	/* handle most of the key */