From: oharboe at B. <oh...@ma...> - 2009-09-15 16:20:38
|
Author: oharboe Date: 2009-09-15 16:20:37 +0200 (Tue, 15 Sep 2009) New Revision: 2711 Modified: trunk/src/server/httpd.c Log: fix bug when using 32 instead of 64 bit value in callback, caught by -Wall Modified: trunk/src/server/httpd.c =================================================================== --- trunk/src/server/httpd.c 2009-09-15 09:41:09 UTC (rev 2710) +++ trunk/src/server/httpd.c 2009-09-15 14:20:37 UTC (rev 2711) @@ -223,7 +223,7 @@ /* append data to each key */ static int iterate_post(void *con_cls, enum MHD_ValueKind kind, const char *key, const char *filename, const char *content_type, - const char *transfer_encoding, const char *data, size_t off, + const char *transfer_encoding, const char *data, uint64_t off, size_t size) { struct httpd_request *r = (struct httpd_request*) con_cls; |