From 0d9695ddbe8d556f57f63142f5d5cd46e3431b5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=A6=8C=EA=A6=AB=EA=A6=B6=EA=A6=8F=EA=A7=80=EA=A6=A6?= =?UTF-8?q?=EA=A6=BF=EA=A6=A7=EA=A6=AE=EA=A6=91=EA=A6=A9=EA=A6=AD=EA=A7=80?= Date: Sat, 12 Jun 2021 20:09:49 +0800 Subject: Fix previous commit for Emscripten --- catalog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3