summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-12 20:09:49 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-12 20:09:49 +0800
commit0d9695ddbe8d556f57f63142f5d5cd46e3431b5d (patch)
tree2c6c37a59d22f9cf708a502ec7a7601928206e2c /catalog.c
parentee87c46227c838961250bb8d50edca57ac154462 (diff)
Fix previous commit for Emscripten
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/catalog.c b/catalog.c
index 5938706..e52cb2c 100644
--- a/catalog.c
+++ b/catalog.c
@@ -70,7 +70,7 @@ size_t icclient_catalog_results(void *data, size_t size, size_t nmemb, void *use
json_object_iter_next(&iterator);
}
}
- ((void (*)(struct icclient_catalog *))userData)(catalog);
+ ((void (*)(struct icclient_catalog *))ICCLIENT_HANDLER_STRUCT userData)(catalog);
#ifdef __EMSCRIPTEN__
emscripten_fetch_close(fetch);
#endif