[PATCH] tracker: silent warning (wrong cast)



From: Lionel Landwerlin <lionel g landwerlin linux intel com>

Signed-off-by: Lionel Landwerlin <lionel g landwerlin linux intel com>
---
 src/media/tracker/grl-tracker-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/media/tracker/grl-tracker-utils.c b/src/media/tracker/grl-tracker-utils.c
index febefa5..fee63c8 100644
--- a/src/media/tracker/grl-tracker-utils.c
+++ b/src/media/tracker/grl-tracker-utils.c
@@ -348,7 +348,7 @@ grl_tracker_media_get_select_string (const GList *keys)
                           assoc->sparql_key_name);
 
   while (key != NULL) {
-    assoc_list = get_mapping_from_grl (GPOINTER_TO_SIZE (key->data));
+    assoc_list = get_mapping_from_grl ((GrlKeyID) key->data);
     while (assoc_list != NULL) {
       assoc = (tracker_grl_sparql_t *) assoc_list->data;
       if (assoc != NULL) {
-- 
1.7.5.4



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