diff options
author | Christian Grothoff <christian@grothoff.org> | 2010-09-21 13:13:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2010-09-21 13:13:05 +0000 |
commit | b4abb360a438af83a786b8f8e2df8b5ed0c865ba (patch) | |
tree | ea3f61eba2be499856ddc42cdf36940aeea8e4c6 /src/daemon/response.c | |
parent | f33a16a615ae2fd55f1fd7ddf8654a82bcca0228 (diff) | |
download | libmicrohttpd-b4abb360a438af83a786b8f8e2df8b5ed0c865ba.tar.gz libmicrohttpd-b4abb360a438af83a786b8f8e2df8b5ed0c865ba.zip |
use size_t
Diffstat (limited to 'src/daemon/response.c')
-rw-r--r-- | src/daemon/response.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/response.c b/src/daemon/response.c index ae2b8615..6700bab1 100644 --- a/src/daemon/response.c +++ b/src/daemon/response.c | |||
@@ -216,8 +216,8 @@ MHD_create_response_from_callback (uint64_t size, | |||
216 | * @param max number of bytes to write at most | 216 | * @param max number of bytes to write at most |
217 | * @return number of bytes written | 217 | * @return number of bytes written |
218 | */ | 218 | */ |
219 | static int | 219 | static ssize_t |
220 | file_reader (void *cls, uint64_t pos, char *buf, int max) | 220 | file_reader (void *cls, uint64_t pos, char *buf, size_t max) |
221 | { | 221 | { |
222 | struct MHD_Response *response = cls; | 222 | struct MHD_Response *response = cls; |
223 | int ret; | 223 | int ret; |