Browse Source

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
tags/v0.3.0-rc0
oharboe 14 years ago
parent
commit
388e94d5c1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/server/httpd.c

+ 1
- 1
src/server/httpd.c View File

@@ -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;


Loading…
Cancel
Save