diff options
-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; |