--- parser3/src/classes/image.C 2003/11/20 15:35:29 1.98 +++ parser3/src/classes/image.C 2003/11/20 17:20:00 1.102 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char* IDENT_IMAGE_C="$Date: 2003/11/20 15:35:29 $"; +static const char * const IDENT_IMAGE_C="$Date: 2003/11/20 17:20:00 $"; /* jpegsize: gets the width and height (in pixels) of a jpeg file @@ -331,7 +331,7 @@ static void measure_gif(const String& or Measure_reader& reader, ushort& width, ushort& height) { const char* buf; - const int head_size=sizeof(GIF_Header); + const size_t head_size=sizeof(GIF_Header); if(reader.read(buf, head_size)for_each(append_attrib_pair, &info); } else throw Exception("parser.runtime", @@ -997,9 +996,9 @@ const int Font::letter_spacing=1; Font::Font(//, const String& aalphabet, gdImage* aifont, int aheight, int amonospace, int aspacebarspace): - alphabet(aalphabet), height(aheight), monospace(amonospace), spacebarspace(aspacebarspace), - ifont(aifont) { + ifont(aifont), + alphabet(aalphabet) { } /* ******************************** char ********************************** */