diff options
Diffstat (limited to 'data_structures.c')
-rw-r--r-- | data_structures.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data_structures.c b/data_structures.c index c736662..494aaf1 100644 --- a/data_structures.c +++ b/data_structures.c @@ -243,7 +243,7 @@ static U64 str_hash(const char *s, size_t len) { U32 x = 0xabcdef01; U32 y = 0x31415926; U64 hash = 0; - for (size_t i = 0; i < len; ++i) { + for (size_t i = 0; i < len; ++i) { hash += (U64)x * (unsigned char)(*s) + y; x = rand_u32(x); y = rand_u32(y); |