[grilo-plugins] tracker: Fix wrong cast
- From: Juan A. Suarez Romero <jasuarez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo-plugins] tracker: Fix wrong cast
- Date: Mon, 20 Jun 2011 10:41:36 +0000 (UTC)
commit 548822215616e85861de4846af04add1d2fb3442
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date: Mon Jun 20 10:39:51 2011 +0000
tracker: Fix wrong cast
Use GRLPOINTER_TO_KEYID() macro.
Signed-off-by: Juan A. Suarez Romero <jasuarez igalia 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 7a78866..3588708 100644
--- a/src/media/tracker/grl-tracker-utils.c
+++ b/src/media/tracker/grl-tracker-utils.c
@@ -353,7 +353,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_UINT (key->data));
+ assoc_list = get_mapping_from_grl (GRLPOINTER_TO_KEYID (key->data));
while (assoc_list != NULL) {
assoc = (tracker_grl_sparql_t *) assoc_list->data;
if (assoc != NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]