[libchamplain] Use correct cast
- From: Jiří Techet <jiritechet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libchamplain] Use correct cast
- Date: Sun, 16 May 2010 00:02:59 +0000 (UTC)
commit 1e084cef16a3587eab4e6462ccc3cf1d007528ef
Author: JiÅ?Ã Techet <techet gmail com>
Date: Fri May 14 21:16:09 2010 +0200
Use correct cast
Signed-off-by: JiÅ?Ã Techet <techet gmail com>
champlain/champlain-map-source-factory.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-map-source-factory.c b/champlain/champlain-map-source-factory.c
index 6f8b46d..3097652 100644
--- a/champlain/champlain-map-source-factory.c
+++ b/champlain/champlain-map-source-factory.c
@@ -141,7 +141,7 @@ champlain_map_source_factory_constructor (GType type,
(type, n_construct_params, construct_params);
instance = CHAMPLAIN_MAP_SOURCE_FACTORY (retval);
- g_object_add_weak_pointer (retval, (gpointer) &instance);
+ g_object_add_weak_pointer (retval, (gpointer *) &instance);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]