[brasero/gnome-2-30] brasero-rename.c: Fix signedness issues by assigning proper types



commit 49d673b6918a36ddb357ab23de62df429b8acd0a
Author: Tobias Mueller <tobiasmue gnome org>
Date:   Tue Apr 13 00:41:26 2010 +0100

    brasero-rename.c: Fix signedness issues by assigning proper types
    
    gtk_combo_box_get_active returns a signed int so let's use it too.
    Also does checking an unsigned int for < 0 not make sense.
    Fixes bug 615605.

 src/brasero-rename.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-rename.c b/src/brasero-rename.c
index 920d17f..ee82652 100644
--- a/src/brasero-rename.c
+++ b/src/brasero-rename.c
@@ -203,7 +203,7 @@ brasero_rename_do (BraseroRename *self,
 	guint item_num;
 	guint nb_items;
 	GList *item;
-	guint mode;
+	gint mode;
 
 	priv = BRASERO_RENAME_PRIVATE (self);
 	mode = gtk_combo_box_get_active (GTK_COMBO_BOX (priv->combo));



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