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 | |
parent | 06a719b075fbeea7b54ebe30595b959ed66ad687 (diff) |
64 bits fixes.
-rw-r--r-- | lib/HttpClient.cc | 4 | ||||
-rw-r--r-- | lib/Image.cc | 6 |
2 files changed, 3 insertions, 7 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"; diff --git a/lib/Image.cc b/lib/Image.cc index 432f16a..f85495f 100644 --- a/lib/Image.cc +++ b/lib/Image.cc @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: Image.cc,v 1.18 2007-06-29 16:09:43 pixel Exp $ */ +/* $Id: Image.cc,v 1.19 2007-09-28 09:05:55 pixel Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -113,10 +113,6 @@ jpeg_handle_dest (j_compress_ptr cinfo, Handle * outfile) } #endif -typedef unsigned char Byte; -typedef unsigned short int Word; -typedef unsigned long int DWord; - struct TGAHeader { Byte IDLength; Byte ColorMapType; |