summaryrefslogtreecommitdiff
path: root/src/server
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-15 14:20:37 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-09-15 14:20:37 +0000
commit388e94d5c16d213647af52c546dfa815a428f2e7 (patch)
treec0e13019c819eea86829e15cfa4938a6716e9ec1 /src/server
parent379386743ac6bded1cefe8f8bfbaf2d6a5498493 (diff)
downloadopenocd+libswd-388e94d5c16d213647af52c546dfa815a428f2e7.tar.gz
openocd+libswd-388e94d5c16d213647af52c546dfa815a428f2e7.tar.bz2
openocd+libswd-388e94d5c16d213647af52c546dfa815a428f2e7.tar.xz
openocd+libswd-388e94d5c16d213647af52c546dfa815a428f2e7.zip
fix bug when using 32 instead of 64 bit value in callback, caught by -Wall
git-svn-id: svn://svn.berlios.de/openocd/trunk@2711 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/server')
-rw-r--r--src/server/httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/httpd.c b/src/server/httpd.c
index 37c16b93..6733502d 100644
--- a/src/server/httpd.c
+++ b/src/server/httpd.c
@@ -223,7 +223,7 @@ static void append_key(struct httpd_request *r, const char *key,
/* 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;