changeset 287:fd5c62403498

int -> gint
author zas_
date Tue, 08 Apr 2008 23:41:01 +0000
parents f517bbd7542a
children d1f74154463e
files src/histogram.c src/histogram.h
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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)
 		{
--- 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);