--- common/video/iso-mpeg4/src/vtc_main_read_image.cpp.orig	2005-05-04 13:56:00.000000000 -0600
+++ common/video/iso-mpeg4/src/vtc_main_read_image.cpp	2009-11-19 01:27:34.000000000 -0700
@@ -176,7 +176,7 @@
 	mzte_codec.m_ImageOrg = mzte_codec.m_Image;
     
   if ((img = (PICTURE *)malloc(sizeof(PICTURE)*img_colors))==NULL)
-    errorHandler("error allocating memory \n");
+    errorHandler((char*)"error allocating memory \n");
   
   img[0].width = tile_width;
   img[0].height = tile_height;
@@ -189,14 +189,14 @@
 
   if ((img[0].data=(Void *)
       malloc(sizeof(UChar)*tile_width*tile_height*wordsize)) == NULL)
-    errorHandler("Couldn't allocate memory to image->Y->data\n");
+    errorHandler((char*)"Couldn't allocate memory to image->Y->data\n");
   if (img_colors != MONO) { /* SL: only for color image */
     if ((img[1].data = (Void *)
         malloc(sizeof(UChar)*img_cwidth*img_cheight*wordsize))==NULL)
-      errorHandler("Couldn't allocate memory to image->U->data\n");
+      errorHandler((char*)"Couldn't allocate memory to image->U->data\n");
     if ((img[2].data = (Void *)
         malloc(sizeof(UChar)*img_cwidth*img_cheight*wordsize))==NULL)
-      errorHandler("Couldn't allocate memory to image->V->data\n");
+      errorHandler((char*)"Couldn't allocate memory to image->V->data\n");
   }
 
 // FPDAM begin: modified by Sharp
@@ -212,7 +212,7 @@
     if(col==0) {
       img[col].mask = (UChar *)malloc(sizeof(UChar)*tile_width*tile_height);
       if (img[col].mask == NULL)
-        errorHandler("error allocating memory \n");
+        errorHandler((char*)"error allocating memory \n");
       memset(img[col].mask, 1, sizeof(UChar)*tile_width*tile_height);
     } else {
       img[col].mask=NULL;
