--- cinepaint-0.22-1/plug-ins/collect/collect.cpp.orig 2007-03-30 05:11:33.000000000 -0400 +++ cinepaint-0.22-1/plug-ins/collect/collect.cpp 2009-10-07 17:12:19.000000000 -0400 @@ -301,7 +301,7 @@ return -1; // renaming the layer to the original filename - gimp_layer_set_name (layers[0], strrchr(fc->value(1),'/')+1); + gimp_layer_set_name (layers[0], (char *)(strrchr(fc->value(1),'/')+1)); GPrecisionType image_base_prec = gimp_drawable_precision (layers[0]); int base_gray = gimp_drawable_gray (layers[0]); @@ -341,7 +341,7 @@ #endif gimp_image_add_layer (image_ID, layers[0], 0); DBG // set layer name to filename - gimp_layer_set_name(layers[0], strrchr(fc->value(i),'/')+1); + gimp_layer_set_name(layers[0], (char *)(strrchr(fc->value(i),'/')+1)); // searching max dimensions if (gimp_image_width(load_image_ID) > max_w)