diff options
author | dec05eba <dec05eba@protonmail.com> | 2019-03-08 00:51:48 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-25 14:36:46 +0200 |
commit | 18fb99add7f0d4b710debcbf5c154f9c1d841845 (patch) | |
tree | cdd380de8785b82a6556daf1da74081d307b171a /src | |
parent | 784cfbe5d88042756dac21fec4b6dac5f1db414e (diff) |
asdf
Diffstat (limited to 'src')
-rw-r--r-- | src/std/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |