diff options
Diffstat (limited to 'gdk-pixbuf')
-rw-r--r-- | gdk-pixbuf/gdk-pixbuf-csource.c | 2 | ||||
-rw-r--r-- | gdk-pixbuf/gdk-pixdata.c | 4 | ||||
-rw-r--r-- | gdk-pixbuf/queryloaders.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/gdk-pixbuf/gdk-pixbuf-csource.c b/gdk-pixbuf/gdk-pixbuf-csource.c index 4e21553d5c..b8c7bbffe2 100644 --- a/gdk-pixbuf/gdk-pixbuf-csource.c +++ b/gdk-pixbuf/gdk-pixbuf-csource.c @@ -272,7 +272,7 @@ print_blurb (FILE *bout, if (!print_help) { g_fprintf (bout, "%s version ", PRG_NAME); - g_fprintf (bout, "%u.%u.%u", GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); + g_fprintf (bout, "%d.%d.%d", GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION); g_fprintf (bout, "\n"); g_fprintf (bout, "%s comes with ABSOLUTELY NO WARRANTY.\n", PRG_NAME); g_fprintf (bout, "You may redistribute copies of %s under the terms of\n", PRG_NAME); diff --git a/gdk-pixbuf/gdk-pixdata.c b/gdk-pixbuf/gdk-pixdata.c index 266d20eb44..024bac9d5f 100644 --- a/gdk-pixbuf/gdk-pixdata.c +++ b/gdk-pixbuf/gdk-pixdata.c @@ -737,7 +737,7 @@ gdk_pixdata_to_csource (GdkPixdata *pixdata, cdata.static_prefix, cdata.const_prefix, name); APPEND (gstring, " 0x%x, /* Pixbuf magic: 'GdkP' */\n", GDK_PIXBUF_MAGIC_NUMBER); - APPEND (gstring, " %u + %lu, /* header length + pixel_data length */\n", + APPEND (gstring, " %d + %lu, /* header length + pixel_data length */\n", GDK_PIXDATA_HEADER_LENGTH, rle_encoded ? (glong)(img_buffer_end - img_buffer) : (glong)rowstride * height); APPEND (gstring, " 0x%x, /* pixdata_type */\n", @@ -779,7 +779,7 @@ gdk_pixdata_to_csource (GdkPixdata *pixdata, cdata.pos = 3; save_uchar (&cdata, *img_buffer++); save_uchar (&cdata, *img_buffer++); save_uchar (&cdata, *img_buffer++); save_uchar (&cdata, *img_buffer++); - APPEND (gstring, "\"\n /* length: header (%u) + pixel_data (%u) */\n \"", + APPEND (gstring, "\"\n /* length: header (%d) + pixel_data (%u) */\n \"", GDK_PIXDATA_HEADER_LENGTH, rle_encoded ? pix_length : rowstride * height); cdata.pos = 3; diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c index 0c1891ba47..bec11f0d24 100644 --- a/gdk-pixbuf/queryloaders.c +++ b/gdk-pixbuf/queryloaders.c @@ -127,7 +127,7 @@ write_loader_info (const char *path, GdkPixbufFormat *info) char **ext; g_printf("\"%s\"\n", path); - g_printf ("\"%s\" %d \"%s\" \"%s\"\n", + g_printf ("\"%s\" %u \"%s\" \"%s\"\n", info->name, info->flags, info->domain ? info->domain : GETTEXT_PACKAGE, info->description); for (mime = info->mime_types; *mime; mime++) { |