[grilo/0.2.x] Avoid warning about bad pointer cast



commit a4798661a97cdbe11f91918f93a8e171bc4702f4
Author: Mathias Hasselmann <mathias openismus com>
Date:   Thu Aug 16 12:53:41 2012 +0200

    Avoid warning about bad pointer cast
    
    https://bugzilla.gnome.org/show_bug.cgi?id=681983

 src/grl-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/grl-source.c b/src/grl-source.c
index 0d032b3..c1ab39d 100644
--- a/src/grl-source.c
+++ b/src/grl-source.c
@@ -1255,7 +1255,7 @@ get_additional_sources (GrlSource *source,
                                                     TRUE);
 
   for (iter = missing_keys; iter; iter = g_list_next (iter)) {
-    GrlKeyID key = (GrlKeyID) iter->data;
+    GrlKeyID key = GRLPOINTER_TO_KEYID (iter->data);
     GrlSource *_source;
     GList *needed_keys = NULL;
 



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