From 689d2dc98d2d24fb2da79db5fa08a83bc98cdb8b Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 2 Jun 2015 08:07:49 +0000 Subject: [PATCH] -comment on data types --- src/include/microhttpd.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index d1d828e0..6107067e 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h @@ -2023,6 +2023,8 @@ MHD_create_response_from_buffer (size_t size, * @return NULL on error (i.e. invalid arguments, out of memory) * @ingroup response */ +/* NOTE: this should be 'uint64_t' instead of 'size_t', but changing + this would break API compatibility. */ _MHD_EXTERN struct MHD_Response * MHD_create_response_from_fd (size_t size, int fd); @@ -2044,6 +2046,8 @@ MHD_create_response_from_fd (size_t size, * @return NULL on error (i.e. invalid arguments, out of memory) * @ingroup response */ +/* NOTE: this should be 'uint64_t' instead of 'size_t', but changing + this would break API compatibility. */ _MHD_EXTERN struct MHD_Response * MHD_create_response_from_fd_at_offset (size_t size, int fd,