changeset 1025:f43da5b3ded8

fix POST form submission for 64-bit
author corvid <corvid@lavabit.com>
date Wed, 25 Mar 2009 20:00:13 +0000
parents 5dee4ab6196f
children bdf5dcd6c87e
files src/IO/http.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/IO/http.c	Tue Mar 24 17:12:07 2009 -0400
+++ b/src/IO/http.c	Wed Mar 25 20:00:13 2009 +0000
@@ -248,7 +248,7 @@
          "\r\n",
          full_path->str, HTTP_Language_hdr, auth ? auth : "",
          URL_AUTHORITY(url), proxy_auth->str, referer, VERSION,
-         URL_DATA(url)->len, content_type->str,
+         (long)URL_DATA(url)->len, content_type->str,
          cookies);
       dStr_append_l(query, URL_DATA(url)->str, URL_DATA(url)->len);
       dStr_free(content_type, TRUE);