1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-30 12:15:50 +01:00

WINGs: Removed unnecessary type conversion

Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
Christophe CURIS
2013-11-16 20:14:29 +01:00
committed by Carlos R. Mafra
parent e946ef3ae5
commit cd501741a1

View File

@@ -42,7 +42,7 @@ static inline unsigned hashString(const void *param)
unsigned ctr = 0; unsigned ctr = 0;
while (*key) { while (*key) {
ret ^= *(char *)key++ << ctr; ret ^= *key++ << ctr;
ctr = (ctr + 1) % sizeof(char *); ctr = (ctr + 1) % sizeof(char *);
} }