GNOME Bugzilla – Bug 756510
icon-utils: Don't pass a 'void *' where an 'int' is expected
Last modified: 2015-10-23 07:40:54 UTC
Commit 1e049c22660d70132a3735d61d7a7daa957b59fc introduced this warning: libgd/gd-icon-utils.c: In function 'gd_embed_image_in_frame': libgd/gd-icon-utils.c:211:51: warning: passing argument 2 of 'gdk_cairo_surface_create_from_pixbuf' makes integer from pointer without a cast NULL, NULL); ^ In file included from /opt/include/gtk-3.0/gdk/gdk.h:33:0, from /opt/include/gtk-3.0/gtk/gtk.h:30, from libgd/gd-icon-utils.h:25, from libgd/gd-icon-utils.c:22: /opt/include/gtk-3.0/gdk/gdkcairo.h:70:19: note: expected 'int' but argument is of type 'void *' cairo_surface_t * gdk_cairo_surface_create_from_pixbuf (const GdkPixbuf *pixbuf, ^
Created attachment 313197 [details] [review] icon-utils: Don't pass a 'void *' where an 'int' is expected
Comment on attachment 313197 [details] [review] icon-utils: Don't pass a 'void *' where an 'int' is expected I think this is fine, and I am tired of the warnings. Pushed to master.