added a cast to get rid of a compiler warning.

2006-02-20  Sven Neumann  <sven@gimp.org>

	* libgimp/gimpplugin.c (gimp_plugin_icon_register): added a cast to
	get rid of a compiler warning.
This commit is contained in:
Sven Neumann 2006-02-20 07:25:34 +00:00 committed by Sven Neumann
parent e0dd00195a
commit ee34dfa57e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-02-20 Sven Neumann <sven@gimp.org>
* libgimp/gimpplugin.c (gimp_plugin_icon_register): added a cast to
get rid of a compiler warning.
2006-02-19 Tor Lillqvist <tml@novell.com>
* configure.in: Don't think we have Mac OS X TWAIN if on Win32.

View File

@ -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: