summaryrefslogtreecommitdiff
path: root/data_structures.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-03-14 15:02:29 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-03-14 15:02:29 -0400
commit6b62b3caada6ce2859dfda24d6eb6fb273ca1a3f (patch)
tree6f822e745a4d60f229284d3f821c5d82145d8f6d /data_structures.c
parentb3e83e42b63ca7f4e8e38e3dae9a14c1de531c07 (diff)
fixed indentation
Diffstat (limited to 'data_structures.c')
-rw-r--r--data_structures.c2
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);