fix compile warnings

Fallout from running make CFLAGS="-Werror"; mostly missing casts and
constness issues.
This commit is contained in:
Benjamin Otte
2009-06-17 10:28:03 +02:00
parent 272c30bbc2
commit 1a385c50f0
10 changed files with 21 additions and 18 deletions

View File

@ -2452,7 +2452,7 @@ gchar *
gdk_pixbuf_format_get_description (GdkPixbufFormat *format)
{
gchar *domain;
gchar *description;
const gchar *description;
g_return_val_if_fail (format != NULL, NULL);
if (format->domain != NULL)