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:
committed by
Carlos R. Mafra
parent
e946ef3ae5
commit
cd501741a1
@@ -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 *);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user