[grilo] Avoid warning about bad pointer cast
- From: Victor Manuel Jaquez Leal <vjaquez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [grilo] Avoid warning about bad pointer cast
- Date: Sat, 18 Aug 2012 21:04:20 +0000 (UTC)
commit b911c0f6a9e48ff562ed46173d1582478728a59f
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]