summaryrefslogtreecommitdiff
path: root/crc
diff options
context:
space:
mode:
authorJens Axboe <axboe@fb.com>2014-09-26 14:57:41 -0600
committerJens Axboe <axboe@fb.com>2014-09-26 14:57:41 -0600
commit899834b5290bf6302a8a01d3c7672a9a200392c7 (patch)
treee6f91ba8149089b0815d61881a3752c466f04b3f /crc
parent73568e1b094b86adbe2e5e19fc9b8122f0d11711 (diff)
downloadfio-899834b5290bf6302a8a01d3c7672a9a200392c7.tar.gz
fio-899834b5290bf6302a8a01d3c7672a9a200392c7.tar.bz2
bloom: use independent hashes
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'crc')
-rw-r--r--crc/xxhash.c2
-rw-r--r--crc/xxhash.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/crc/xxhash.c b/crc/xxhash.c
index eedaecb4..4736c528 100644
--- a/crc/xxhash.c
+++ b/crc/xxhash.c
@@ -221,7 +221,7 @@ static uint32_t XXH32_endian_align(const void* input, int len, uint32_t seed, XX
}
-uint32_t XXH32(const void* input, int len, uint32_t seed)
+uint32_t XXH32(const void* input, uint32_t len, uint32_t seed)
{
#if 0
// Simple version, good for code maintenance, but unfortunately slow for small inputs
diff --git a/crc/xxhash.h b/crc/xxhash.h
index e80a91d0..8850d208 100644
--- a/crc/xxhash.h
+++ b/crc/xxhash.h
@@ -88,7 +88,7 @@ typedef enum { XXH_OK=0, XXH_ERROR } XXH_errorcode;
// Simple Hash Functions
//****************************
-unsigned int XXH32 (const void* input, int len, unsigned int seed);
+uint32_t XXH32 (const void* input, uint32_t len, uint32_t seed);
/*
XXH32() :