diff options
| -rw-r--r-- | src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -100,12 +100,12 @@ static void sanitize_sql_str(char **str) OUT. Algorithm from http://www.cse.yorku.ca/~oz/hash.html via https://stackoverflow.com/a/7666577/20138083. Return 0 on success, -1 on error. */ -static int sum(uint64_t *out, const char *file) +static int sum(uint32_t *out, const char *file) { FILE *stream = fopen(file, "r"); uint8_t buf[4096]; size_t buf_len; - uint64_t sum = 5381; + uint32_t sum = 5381; if (!file) { perror("fopen"); return -1; |
