Fixed dhash() prototype

master
Harald Wolff 2022-08-19 20:05:15 +02:00
parent 7cf61f43c1
commit 458e832990
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ static inline uint64_t ror64(uint64_t word, unsigned int shift)
return (word >> shift) | (word << (64 - shift));
}
uint64_t dhash(char *data, int size);
uint64_t dhash(void *data, int size);
#endif //MKSPARSE_HASH_H

View File

@ -6,7 +6,7 @@
#include <stdint.h>
#include <stdio.h>
uint64_t dhash(char *data, int size){
uint64_t dhash(void *data, int size){
uint64_t *i64 = (uint64_t*)data;
char *i8;
uint64_t hash = 0xbeefcafe;