diff options
author | pixel <pixel> | 2007-09-28 09:05:55 +0000 |
---|---|---|
committer | pixel <pixel> | 2007-09-28 09:05:55 +0000 |
commit | 0150e8b7a7e4fc00021e79c297bb5cd702318b1f (patch) | |
tree | c36c3f5b87ab151d597022fa64d2c75581b6f33a /lib/HttpClient.cc | |
parent | 06a719b075fbeea7b54ebe30595b959ed66ad687 (diff) |
64 bits fixes.
Diffstat (limited to 'lib/HttpClient.cc')
-rw-r--r-- | lib/HttpClient.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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 <TaskMan.h> #include <HttpClient.h> @@ -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"; |