[libdazzle] fuzzy: mark cast as safe



commit 0747412372ce93af13c9c40a33bf2d1386f35366
Author: Christian Hergert <chergert redhat com>
Date:   Fri Jul 21 22:37:07 2017 -0700

    fuzzy: mark cast as safe

 src/search/dzl-fuzzy-index-cursor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/search/dzl-fuzzy-index-cursor.c b/src/search/dzl-fuzzy-index-cursor.c
index cf529f8..5a63ee3 100644
--- a/src/search/dzl-fuzzy-index-cursor.c
+++ b/src/search/dzl-fuzzy-index-cursor.c
@@ -395,7 +395,7 @@ dzl_fuzzy_index_cursor_worker (GTask        *task,
   lookup.index = self->index;
   lookup.matches = matches;
   lookup.tables = (const DzlFuzzyIndexItem * const *)tables->pdata;
-  lookup.tables_n_elements = (const gsize *)tables_n_elements->data;
+  lookup.tables_n_elements = (const gsize *)(gpointer)tables_n_elements->data;
   lookup.tables_state = tables_state;
   lookup.n_tables = tables->len;
   lookup.needle = query;


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