hash.cpp: fix typo
This commit is contained in:
parent
e48fc5ad3f
commit
dd1ec2deed
@ -61,7 +61,7 @@ uint32_t IRAM_ATTR rokkit(const char *data, int len) {
|
|||||||
case 3:
|
case 3:
|
||||||
hash += *((uint16_t *)data);
|
hash += *((uint16_t *)data);
|
||||||
hash ^= hash << 16;
|
hash ^= hash << 16;
|
||||||
hash ^= ((unit32_t)data[2]) << 18;
|
hash ^= ((uint32_t)data[2]) << 18;
|
||||||
hash += hash >> 11;
|
hash += hash >> 11;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user