From 18fb99add7f0d4b710debcbf5c154f9c1d841845 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 8 Mar 2019 00:51:48 +0100 Subject: asdf --- src/std/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/std/hash.c b/src/std/hash.c index 8bd08d9..82f7119 100644 --- a/src/std/hash.c +++ b/src/std/hash.c @@ -5,7 +5,7 @@ usize amal_hash_string(const u8 *data, usize size) { result = 0xdec05eba; while(size) { - result = ((result << 5) + result) ^ *data; + result = ((result << 5) + result) + *data; ++data; --size; } -- cgit v1.2.3