diff --git a/ChangeLog b/ChangeLog index 57f3355fc8..75a0130e2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-20 Sven Neumann + + * libgimp/gimpplugin.c (gimp_plugin_icon_register): added a cast to + get rid of a compiler warning. + 2006-02-19 Tor Lillqvist * configure.in: Don't think we have Mac OS X TWAIN if on Win32. diff --git a/libgimp/gimpplugin.c b/libgimp/gimpplugin.c index 8edf0deea0..94613654de 100644 --- a/libgimp/gimpplugin.c +++ b/libgimp/gimpplugin.c @@ -39,7 +39,7 @@ gimp_plugin_icon_register (const gchar *procedure_name, { case GIMP_ICON_TYPE_STOCK_ID: case GIMP_ICON_TYPE_IMAGE_FILE: - icon_data_length = strlen (icon_data) + 1; + icon_data_length = strlen ((const gchar *) icon_data) + 1; break; case GIMP_ICON_TYPE_INLINE_PIXBUF: