[gnumeric] Compilation: kill warnings



commit a6bd8d6220bfe9c046bc1f501030f01a2d2a7b1c
Author: Morten Welinder <terra gnome org>
Date:   Sat Nov 12 14:54:40 2011 -0500

    Compilation: kill warnings

 src/complete-sheet.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/complete-sheet.c b/src/complete-sheet.c
index 8a8197e..90010b0 100644
--- a/src/complete-sheet.c
+++ b/src/complete-sheet.c
@@ -13,6 +13,7 @@
 #include <gnumeric-config.h>
 #include "gnumeric.h"
 #include "complete-sheet.h"
+#include "gnumeric-conf.h"
 
 #include "sheet.h"
 #include "cell.h"
@@ -85,7 +86,7 @@ complete_sheet_search_iteration (Complete *complete)
 	CompleteSheet *cs = COMPLETE_SHEET (complete);
 	int i;
 
-	if (strlen (complete->text) < 
+	if ((int)strlen (complete->text) < 
 	    gnm_conf_get_core_gui_editing_autocomplete_min_chars ())
 		return FALSE;
 



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