fixed compilation issue with microhttpd
authorJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 21 Nov 2011 07:57:06 +0000 (07:57 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Mon, 21 Nov 2011 07:57:06 +0000 (07:57 +0000)
src/server/server.c

index e50984c..cdd655d 100644 (file)
@@ -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