From 543fe4ae36649cf64eabb1b1447539bfb0c3c7c2 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 9 Apr 2020 00:59:55 +0200 Subject: make code compiler without warnings with latest libmicrohttpd API --- src/exchange/taler-exchange-httpd_link.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/exchange/taler-exchange-httpd_link.c') diff --git a/src/exchange/taler-exchange-httpd_link.c b/src/exchange/taler-exchange-httpd_link.c index 4738a435f..948c8eb08 100644 --- a/src/exchange/taler-exchange-httpd_link.c +++ b/src/exchange/taler-exchange-httpd_link.c @@ -142,7 +142,7 @@ static enum GNUNET_DB_QueryStatus link_transaction (void *cls, struct MHD_Connection *connection, struct TALER_EXCHANGEDB_Session *session, - int *mhd_ret) + MHD_RESULT *mhd_ret) { struct HTD_Context *ctx = cls; enum GNUNET_DB_QueryStatus qs; @@ -180,13 +180,13 @@ link_transaction (void *cls, * @param args array of additional options (length: 2, first is the coin_pub, second must be "link") * @return MHD result code */ -int +MHD_RESULT TEH_handler_link (const struct TEH_RequestHandler *rh, struct MHD_Connection *connection, const char *const args[2]) { struct HTD_Context ctx; - int mhd_ret; + MHD_RESULT mhd_ret; (void) rh; memset (&ctx, -- cgit v1.2.3