changeset 1188:e3eb00ea097c

Fix up sign-related warning.
author zas_
date Thu, 27 Nov 2008 12:34:39 +0000
parents 3a27afa693bd
children 9e424170e958
files src/preferences.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/preferences.c	Thu Nov 27 12:34:03 2008 +0000
+++ b/src/preferences.c	Thu Nov 27 12:34:39 2008 +0000
@@ -483,7 +483,7 @@
 }
 
 static void add_quality_menu(GtkWidget *table, gint column, gint row, const gchar *text,
-			     gint option, gint *option_c)
+			     guint option, guint *option_c)
 {
 	GtkWidget *combo;
 	gint current = 0;
@@ -1516,7 +1516,7 @@
 			      options->save_metadata_in_image_file, &c_options->save_metadata_in_image_file);
 
 	pref_spin_new_int(group, _("Custom similarity threshold:"), NULL,
-			  0, 100, 1, options->duplicates_similarity_threshold, &c_options->duplicates_similarity_threshold);
+			  0, 100, 1, options->duplicates_similarity_threshold, (int *)&c_options->duplicates_similarity_threshold);
 
 	group = pref_group_new(vbox, FALSE, _("Image loading and caching"), GTK_ORIENTATION_VERTICAL);