--- parser3/src/classes/image.C 2009/05/13 07:36:05 1.122 +++ parser3/src/classes/image.C 2009/06/14 00:33:36 1.124 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_IMAGE_C="$Date: 2009/05/13 07:36:05 $"; +static const char * const IDENT_IMAGE_C="$Date: 2009/06/14 00:33:36 $"; /* jpegsize: gets the width and height (in pixels) of a jpeg file @@ -33,7 +33,7 @@ static const char * const IDENT_IMAGE_C= class MImage: public Methoded { public: // VStateless_class - Value* create_new_value(Pool&, HashStringValue&) { return new VImage(); } + Value* create_new_value(Pool&, HashStringValue*) { return new VImage(); } public: MImage(); @@ -484,7 +484,7 @@ static Value* parse_IFD_entry_formatted_ catch(...) { /*ignore bad date times*/ } } - return new VString(*new String(cstr, true/*tainted*/)); + return new VString(*new String(cstr, String::L_TAINTED)); } if(components_count==1)