diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-09 00:59:55 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-09 00:59:55 +0200 |
commit | 543fe4ae36649cf64eabb1b1447539bfb0c3c7c2 (patch) | |
tree | 81e9bf344e28225ccf425311519738c7fe3b0300 /src/auditor/taler-auditor-httpd.h | |
parent | 84a40be0bce66cda800de7891f758a0c69afc7fa (diff) |
make code compiler without warnings with latest libmicrohttpd API
Diffstat (limited to 'src/auditor/taler-auditor-httpd.h')
-rw-r--r-- | src/auditor/taler-auditor-httpd.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/auditor/taler-auditor-httpd.h b/src/auditor/taler-auditor-httpd.h index 3e7e79a10..127c4dd8a 100644 --- a/src/auditor/taler-auditor-httpd.h +++ b/src/auditor/taler-auditor-httpd.h @@ -75,16 +75,16 @@ struct TAH_RequestHandler * @param[in,out] upload_data_size number of bytes (left) in @a upload_data * @return MHD result code */ - int (*handler)(struct TAH_RequestHandler *rh, - struct MHD_Connection *connection, - void **connection_cls, - const char *upload_data, - size_t *upload_data_size); + MHD_RESULT (*handler)(struct TAH_RequestHandler *rh, + struct MHD_Connection *connection, + void **connection_cls, + const char *upload_data, + size_t *upload_data_size); /** * Default response code. */ - int response_code; + unsigned int response_code; }; |