rsys

Basic data structures and low-level features
git clone git://git.meso-star.fr/rsys.git
Log | Files | Refs | README | LICENSE

commit 49f8bda2a3c5935c65c702f8bf8f27f0c0cbbda1
parent 9d46316e1c2b745ed0cb8eeaae8c19b25620f69f
Author: vaplv <vaplv@free.fr>
Date:   Thu, 18 Dec 2014 15:45:01 +0100

Fix a MinGW warning

Diffstat:
Msrc/hash.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hash.h b/src/hash.h @@ -43,7 +43,7 @@ hash_fnv64(const void* data, const size_t len) { const uint64_t FNV64_PRIME = (uint64_t)(((uint64_t)1<<40) + ((uint64_t)1<<8) + 0xB3); - const uint64_t OFFSET64_BASIS = (uint64_t)14695981039346656037u; + const uint64_t OFFSET64_BASIS = (uint64_t)14695981039346656037llu; const char* octets = (const char*)data; uint64_t hash = OFFSET64_BASIS; size_t i;