--- common/video/iso-mpeg4/src/vtc_shape_ShapeEncoding.cpp.orig 2005-05-04 13:56:00.000000000 -0600 +++ common/video/iso-mpeg4/src/vtc_shape_ShapeEncoding.cpp 2009-11-19 03:31:37.000000000 -0700 @@ -97,7 +97,7 @@ recmask = (UChar *) malloc(coded_width*coded_height*sizeof(UChar)); if(outmask == NULL || recmask == NULL ) { - errorHandler("Memory allocation failed\n"); + errorHandler((char*)"Memory allocation failed\n"); } memset(recmask, 0, coded_width*coded_height); @@ -181,7 +181,7 @@ inmask =(UChar *) malloc(sizeof(UChar)*w*h); if(inmask == (UChar *)NULL) { - errorHandler("Memory allocation failed\n"); + errorHandler((char*)"Memory allocation failed\n"); } /* low low band context */ for(l=0; l