wok-next diff cinepaint/stuff/cinepaint-0.22-gcc44.patch @ rev 6600
Up unixODBC to 2.3.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 09 16:01:29 2010 +0000 (2010-10-09) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cinepaint/stuff/cinepaint-0.22-gcc44.patch Sat Oct 09 16:01:29 2010 +0000 1.3 @@ -0,0 +1,22 @@ 1.4 +diff -Nru cinepaint-0.22-1.orig/plug-ins/collect/collect.cpp cinepaint-0.22-1/plug-ins/collect/collect.cpp 1.5 +--- cinepaint-0.22-1.orig/plug-ins/collect/collect.cpp 2007-03-30 11:11:33.000000000 +0200 1.6 ++++ cinepaint-0.22-1/plug-ins/collect/collect.cpp 2009-05-21 14:54:45.000000000 +0200 1.7 +@@ -301,7 +301,7 @@ 1.8 + return -1; 1.9 + 1.10 + // renaming the layer to the original filename 1.11 +- gimp_layer_set_name (layers[0], strrchr(fc->value(1),'/')+1); 1.12 ++ gimp_layer_set_name (layers[0], strrchr((char *)fc->value(1),'/')+1); 1.13 + GPrecisionType image_base_prec = gimp_drawable_precision (layers[0]); 1.14 + int base_gray = gimp_drawable_gray (layers[0]); 1.15 + 1.16 +@@ -341,7 +341,7 @@ 1.17 + #endif 1.18 + gimp_image_add_layer (image_ID, layers[0], 0); DBG 1.19 + // set layer name to filename 1.20 +- gimp_layer_set_name(layers[0], strrchr(fc->value(i),'/')+1); 1.21 ++ gimp_layer_set_name(layers[0], strrchr((char *)fc->value(i),'/')+1); 1.22 + 1.23 + // searching max dimensions 1.24 + if (gimp_image_width(load_image_ID) > max_w) 1.25 +