From 0150e8b7a7e4fc00021e79c297bb5cd702318b1f Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 28 Sep 2007 09:05:55 +0000 Subject: 64 bits fixes. --- lib/HttpClient.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/HttpClient.cc') diff --git a/lib/HttpClient.cc b/lib/HttpClient.cc index 45aceb3..87d1117 100644 --- a/lib/HttpClient.cc +++ b/lib/HttpClient.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: HttpClient.cc,v 1.13 2007-06-17 15:51:26 pixel Exp $ */ +/* $Id: HttpClient.cc,v 1.14 2007-09-28 09:05:55 pixel Exp $ */ #include #include @@ -86,7 +86,7 @@ int HttpClient::Do() throw (GeneralException) { rendered_variables += vars[j]; } b << "Content-Type: application/x-www-form-urlencoded\r\n"; - b << "Content-Length: " + String(rendered_variables.strlen()) + "\r\n"; + b << "Content-Length: " + String((int) rendered_variables.strlen()) + "\r\n"; } b << "\r\n"; -- cgit v1.2.3