From 617e9f14a2ac079fab332ad283d338bae79518d9 Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Sun, 24 Jan 2021 09:07:24 -0600 Subject: [PATCH] Fix incorrect callback argument for MHD. --- src/conky.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conky.cc b/src/conky.cc index 4dbdc199..d9a9b752 100644 --- a/src/conky.cc +++ b/src/conky.cc @@ -332,7 +332,7 @@ static conky::simple_config_setting http_refresh("http_refresh", false, MHD_Result sendanswer(void *cls, struct MHD_Connection *connection, const char *url, const char *method, const char *version, - const char *upload_data, unsigned long *upload_data_size, + const char *upload_data, size_t *upload_data_size, void **con_cls) { struct MHD_Response *response = MHD_create_response_from_buffer( webpage.length(), (void *)webpage.c_str(), MHD_RESPMEM_PERSISTENT);