summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index e8badae..0405640 100644
--- a/util.c
+++ b/util.c
@@ -134,7 +134,7 @@ int post(char *host, char *path, char *data, char **buf) {
" (not mozilla)\r\nContent-Length: %d\r\n" \
"Content-Type: application/x-www-form-urlencoded\r\n" \
"Host: %s\r\n\r\n%s\r\n",
- path, strlen(data), host, data);
+ path, (int)strlen(data), host, data);
if(!send(fd, h, strlen(h), 0)) return 0;
*buf = NULL;