From e4334216264e06da26b89b639356108e930d012b Mon Sep 17 00:00:00 2001 From: servostar Date: Sat, 18 May 2024 14:05:12 +0200 Subject: [PATCH] fixed hashtable --- tests/glib/glib_hashmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/glib/glib_hashmap.c b/tests/glib/glib_hashmap.c index 70c1e01..116df77 100644 --- a/tests/glib/glib_hashmap.c +++ b/tests/glib/glib_hashmap.c @@ -10,7 +10,7 @@ int main(int argc, char* argv[]) { *index = i; - g_hash_table_insert(map, argv[i], &index); + g_hash_table_insert(map, argv[i], index); } for (int i = 0; i < argc; i++) {