From 0f508ff5d2210ba60debb2d81aafb15a090c671e Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 21 Dec 2005 22:31:36 +0000 Subject: [PATCH] Add cast to silence new warning in GCC 4.0. --- src/lib/kernel/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/kernel/hash.c b/src/lib/kernel/hash.c index 93813c0..3eda885 100644 --- a/src/lib/kernel/hash.c +++ b/src/lib/kernel/hash.c @@ -210,7 +210,7 @@ hash_bytes (const void *buf_, size_t size) unsigned hash_string (const char *s_) { - const unsigned char *s = s_; + const unsigned char *s = (const unsigned char *) s_; unsigned hash; ASSERT (s != NULL); -- 2.30.2