# HG changeset patch # User zas_ # Date 1207698061 0 # Node ID fd5c624034989d0041deb3d88241550f8879e3e2 # Parent f517bbd7542adf61a4b9b6534d4a80ae2876a965 int -> gint diff -r f517bbd7542a -r fd5c62403498 src/histogram.c --- a/src/histogram.c Tue Apr 08 23:39:27 2008 +0000 +++ b/src/histogram.c Tue Apr 08 23:41:01 2008 +0000 @@ -133,7 +133,7 @@ } -int histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height) +gint histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height) { /* FIXME: use the coordinates correctly */ gint i; @@ -143,7 +143,7 @@ if (!histogram) return 0; for (i=0; i<1024; i++) { - int flag = 0; + gint flag = 0; switch (histogram->histogram_chan) { diff -r f517bbd7542a -r fd5c62403498 src/histogram.h --- a/src/histogram.h Tue Apr 08 23:39:27 2008 +0000 +++ b/src/histogram.h Tue Apr 08 23:41:01 2008 +0000 @@ -28,4 +28,4 @@ gint histogram_get_mode(Histogram *histogram); const gchar *histogram_label(Histogram *histogram); gulong histogram_read(Histogram *histogram, GdkPixbuf *imgpixbuf); -int histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height); +gint histogram_draw(Histogram *histogram, GdkPixbuf *pixbuf, gint x, gint y, gint width, gint height);