X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=blobdiff_plain;f=src%2Fhash_32.c;h=7885c3ed2d1863dedc1eb7ba88e25759d269735a;hp=0473696317bd316f2615ff283313271f5c80a410;hb=657d850f957a2dd703e3aab2d7cde4b0f9711c15;hpb=4b5d5057d267f01f60c04eeee1288e812a32cf31 diff --git a/src/hash_32.c b/src/hash_32.c index 0473696..7885c3e 100644 --- a/src/hash_32.c +++ b/src/hash_32.c @@ -102,7 +102,7 @@ Fnv32_t fnv_32_buf( hval *= FNV_32_PRIME; /* xor the bottom with the current octet */ - hval ^= (Fnv32_t) * bp++; + hval ^= (Fnv32_t) *bp++; } /* return our new hash value */ @@ -141,7 +141,7 @@ Fnv32_t fnv_32_str( hval *= FNV_32_PRIME; /* xor the bottom with the current octet */ - hval ^= (Fnv32_t) * s++; + hval ^= (Fnv32_t) *s++; } /* return our new hash value */