diff --git a/src/config.c b/src/config.c index 7338146..f733bde 100644 --- a/src/config.c +++ b/src/config.c @@ -132,7 +132,7 @@ strncpy((char*)key, separating_key, separating_key_size); \ unsigned char *value = malloc(value_idx); \ memcpy(value, value_buf, value_idx); \ - if (simple_archiver_hash_map_insert(&hash_map, \ + if (simple_archiver_hash_map_insert(hash_map, \ value, \ key, \ separating_key_size, \ @@ -152,7 +152,7 @@ wrapper->paths = hash_map; \ \ if (simple_archiver_hash_map_insert( \ - &config.hash_map, \ + config.hash_map, \ wrapper, \ value, \ value_idx, \ @@ -196,7 +196,7 @@ unsigned char *value = malloc(value_idx); \ memcpy(value, value_buf, value_idx); \ \ - if (simple_archiver_hash_map_insert(&hash_map_wrapper->paths, \ + if (simple_archiver_hash_map_insert(hash_map_wrapper->paths, \ value, \ key, \ key_idx, \ diff --git a/third_party/SimpleArchiver b/third_party/SimpleArchiver index 425fa77..3408183 160000 --- a/third_party/SimpleArchiver +++ b/third_party/SimpleArchiver @@ -1 +1 @@ -Subproject commit 425fa7790016d96e11d31407d697540d6893edf9 +Subproject commit 3408183b3923e0e05811984a33260a7b80b15146