summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index adeb2c0..d3030dd 100644
--- a/client.c
+++ b/client.c
@@ -35,7 +35,7 @@ bool icclient_init(const char *url, const char *certificate)
void icclient_allproducts(icclient_catalog **catalogptr
, size_t (*callback)(void *, size_t, size_t, void *))
{
- request((void *)catalogptr, callback, NULL, "%s", "All-Products");
+ request(callback, (void *)catalogptr, NULL, "%s", "All-Products");
}
void icclient_newaccount(const char *username, const char *password