diff options
author | Christian Grothoff <christian@grothoff.org> | 2009-02-06 06:12:33 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2009-02-06 06:12:33 +0000 |
commit | b90c37b2f38d97952613e26627b3e8ebf9932112 (patch) | |
tree | 6f4cd17446da6dcf96ed53679e7c5b42e8c02869 /src/examples/fileserver_example.c | |
parent | 8c8db696a0b7974b432100b8f4466f11163b66cc (diff) | |
download | libmicrohttpd-b90c37b2f38d97952613e26627b3e8ebf9932112.tar.gz libmicrohttpd-b90c37b2f38d97952613e26627b3e8ebf9932112.zip |
incompatible API change to allow 64-bit uploads and downloads on 32-bit systems
Diffstat (limited to 'src/examples/fileserver_example.c')
-rw-r--r-- | src/examples/fileserver_example.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/fileserver_example.c b/src/examples/fileserver_example.c index 4a120fb0..b9eeed57 100644 --- a/src/examples/fileserver_example.c +++ b/src/examples/fileserver_example.c | |||
@@ -30,7 +30,7 @@ | |||
30 | #define PAGE "<html><head><title>File not found</title></head><body>File not found</body></html>" | 30 | #define PAGE "<html><head><title>File not found</title></head><body>File not found</body></html>" |
31 | 31 | ||
32 | static int | 32 | static int |
33 | file_reader (void *cls, size_t pos, char *buf, int max) | 33 | file_reader (void *cls, uint64_t pos, char *buf, int max) |
34 | { | 34 | { |
35 | FILE *file = cls; | 35 | FILE *file = cls; |
36 | 36 | ||