From 4ad68ec305fa3ecf1bffacc24b67b7d24d187f51 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Mar 2004 13:06:01 +0000 Subject: more variable type fixes for the large POST support --- lib/urldata.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index 1338c666e..05c8d6ce7 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -205,7 +205,7 @@ struct negotiatedata { ***************************************************************************/ struct HTTP { struct FormData *sendit; - size_t postsize; + curl_off_t postsize; /* off_t to handle large file sizes */ char *postdata; const char *p_pragma; /* Pragma: string */ @@ -221,7 +221,7 @@ struct HTTP { curl_read_callback fread; /* backup storage for fread pointer */ void *fread_in; /* backup storage for fread_in pointer */ char *postdata; - size_t postsize; + curl_off_t postsize; } backup; enum { -- cgit v1.2.3