Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206370 Details for
Bug 288124
media-video/cinepaint-0.22.1 plug-ins/collect/collect.cpp missing (char *) casts
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add missing (char *) casts to cinepaint-0.22-1/plug-ins/collect/collect.cpp
cinepaint-0.22-1-cast.diff (text/plain), 1.02 KB, created by
Hank Leininger
on 2009-10-07 21:29:58 UTC
(
hide
)
Description:
Add missing (char *) casts to cinepaint-0.22-1/plug-ins/collect/collect.cpp
Filename:
MIME Type:
Creator:
Hank Leininger
Created:
2009-10-07 21:29:58 UTC
Size:
1.02 KB
patch
obsolete
>--- 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)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 288124
: 206370