[gnome-color-manager] trivial: Fix a 32bit compile warning



commit 1abd4e609d03581a6e6c1c02774468d0c0aff52a
Author: Richard Hughes <richard hughsie com>
Date:   Fri Oct 15 16:14:18 2010 +0100

    trivial: Fix a 32bit compile warning

 docs/api/clean.sh          |    4 ++--
 src/gcm-calibrate-native.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/docs/api/clean.sh b/docs/api/clean.sh
index b90dd93..af8a9c6 100755
--- a/docs/api/clean.sh
+++ b/docs/api/clean.sh
@@ -1,6 +1,6 @@
 rm -f *.txt
-rm -f PackageKit-scan.*
-rm -f PackageKit.types
+rm -f libcolor-glib-scan.*
+rm -f libcolor-glib.types
 rm -f html/*.html
 rm -f html/*.png
 rm -f tmpl/*
diff --git a/src/gcm-calibrate-native.c b/src/gcm-calibrate-native.c
index 6fa9e8c..7471349 100644
--- a/src/gcm-calibrate-native.c
+++ b/src/gcm-calibrate-native.c
@@ -368,7 +368,7 @@ static gboolean
 gcm_calibrate_native_create_profile_from_it8 (GcmProfile *profile, const gchar *filename, guint vcgt_size, GError **error)
 {
 	gboolean ret = FALSE;
-	guint64 rampsize;
+	guint rampsize;
 	cmsHANDLE it8_handle;
 	cmsCIExyYTRIPLE primaries;
 	cmsCIExyY whitepoint;
@@ -468,7 +468,7 @@ gcm_calibrate_native_create_profile_from_it8 (GcmProfile *profile, const gchar *
 		g_set_error_literal (error, 1, 0, "no gray ramp found");
 		goto out;
 	}
-	egg_debug ("rampsize = %li", rampsize);
+	egg_debug ("rampsize = %i", rampsize);
 
 	/* create arrays for the sampled and processed data */
 	for (j=0; j<3; j++) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]