From cd501741a1988c80c47080e8a1905ea311889967 Mon Sep 17 00:00:00 2001 From: Christophe CURIS Date: Sat, 16 Nov 2013 20:14:29 +0100 Subject: [PATCH] WINGs: Removed unnecessary type conversion Signed-off-by: Christophe CURIS --- WINGs/hashtable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WINGs/hashtable.c b/WINGs/hashtable.c index bf4ea7b5..d8e53a27 100644 --- a/WINGs/hashtable.c +++ b/WINGs/hashtable.c @@ -42,7 +42,7 @@ static inline unsigned hashString(const void *param) unsigned ctr = 0; while (*key) { - ret ^= *(char *)key++ << ctr; + ret ^= *key++ << ctr; ctr = (ctr + 1) % sizeof(char *); }