mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
incompatible API change to allow 64-bit uploads and downloads on 32-bit systems
This commit is contained in:
1 parent
8c8db696a0
commit
b90c37b2f3
57 files changed
+183
-136
No files matched your search
@@ -97,7 +97,7 @@ const char key_pem[] =
|
||||
"-----END RSA PRIVATE KEY-----\n";
|
||||
|
||||
static int
|
||||
file_reader (void *cls, size_t pos, char *buf, int max)
|
||||
file_reader (void *cls, uint64_t pos, char *buf, int max)
|
||||
{
|
||||
FILE *file = cls;
|
||||
|
||||
@@ -112,7 +112,7 @@ http_ahc (void *cls,
|
||||
const char *url,
|
||||
const char *method,
|
||||
const char *upload_data,
|
||||
const char *version, unsigned int *upload_data_size, void **ptr)
|
||||
const char *version, size_t *upload_data_size, void **ptr)
|
||||
{
|
||||
static int aptr;
|
||||
struct MHD_Response *response;
|
||||
|
||||
Reference in new issue
Block a user