From aa8e9db09756d881029c1d39576888288a2ee21c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 3 Sep 2009 15:32:17 -0500 Subject: Casting the gsize to an int for 64-bit systems. We shouldn't have pngs over 4 GB anyway. Wonder how dbus would handle it... --- libdbusmenu-gtk/menuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libdbusmenu-gtk/menuitem.c') diff --git a/libdbusmenu-gtk/menuitem.c b/libdbusmenu-gtk/menuitem.c index deded06..23ff311 100644 --- a/libdbusmenu-gtk/menuitem.c +++ b/libdbusmenu-gtk/menuitem.c @@ -54,7 +54,7 @@ dbusmenu_menuitem_property_set_image (DbusmenuMenuitem * menuitem, const gchar * if (!gdk_pixbuf_save_to_buffer((GdkPixbuf *)data, &png_data, &png_data_len, "png", &error, NULL)) { if (error == NULL) { - g_warning("Unable to create pixbuf data stream: %d", png_data_len); + g_warning("Unable to create pixbuf data stream: %d", (gint)png_data_len); } else { g_warning("Unable to create pixbuf data stream: %s", error->message); g_error_free(error); -- cgit v1.2.3