From: Jean-Philippe Orsini Date: Mon, 21 Nov 2011 07:57:06 +0000 (+0000) Subject: fixed compilation issue with microhttpd X-Git-Tag: v0.8.0.5~538 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor.git;a=commitdiff_plain;h=9992e3e5a062abf9324d275d2ad200c2b6dcb3b8 fixed compilation issue with microhttpd --- diff --git a/src/server/server.c b/src/server/server.c index e50984c..cdd655d 100644 --- a/src/server/server.c +++ b/src/server/server.c @@ -131,7 +131,7 @@ char *get_path(const char *url, const char *www_dir) } #if MHD_VERSION >= 0x00090200 -static int +static ssize_t file_reader(void *cls, uint64_t pos, char *buf, size_t max) #else static int