[Tracker] [PATCH 2/2] tracker-parser: fix a warning when using unac
- From: "Juan A. Suarez Romero" <jasuarez igalia com>
- To: tracker-list gnome org
- Subject: [Tracker] [PATCH 2/2] tracker-parser: fix a warning when using unac
- Date: Fri, 6 Nov 2009 13:42:54 +0100
Expected size_t type.
---
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");
}
--
1.6.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]