[tracker] libtracker-fts: Fixed compiler warning when using unac_string()



commit 5b287eb55d85eb5b8a4a45ad500506d3530fe5b7
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Fri Nov 6 14:37:05 2009 +0000

    libtracker-fts: Fixed compiler warning when using unac_string()

 src/libtracker-fts/tracker-parser.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-fts/tracker-parser.c b/src/libtracker-fts/tracker-parser.c
index 8cfe327..de059fa 100644
--- a/src/libtracker-fts/tracker-parser.c
+++ b/src/libtracker-fts/tracker-parser.c
@@ -148,7 +148,7 @@ strip_word (const gchar *str,
 #ifdef HAVE_UNAC
 	gchar *s = NULL;
 
-	if (unac_string ("UTF-8", str, length, &s, &*len) != 0) {
+	if (unac_string ("UTF-8", str, length, &s, (size_t *) len) != 0) {
 		g_warning ("UNAC failed to strip accents");
 	}
 



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