[libdazzle] fuzzy: mark cast as safe
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] fuzzy: mark cast as safe
- Date: Sat, 22 Jul 2017 05:40:37 +0000 (UTC)
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]