aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-object.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-object.c')
-rw-r--r--camel/camel-object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-object.c b/camel/camel-object.c
index 776d22e038..b10edf82a4 100644
--- a/camel/camel-object.c
+++ b/camel/camel-object.c
@@ -210,7 +210,7 @@ camel_type_init (void)
GINT_TO_POINTER (CAMEL_INVALID_TYPE), NULL);
g_hash_table_insert (ctype_to_typeinfo,
GINT_TO_POINTER (camel_object_type), obj_info);
- g_hash_table_insert (name_to_typeinfo, obj_info->name, obj_info);
+ g_hash_table_insert (name_to_typeinfo, (gpointer) obj_info->name, obj_info);
/* Sigh. Ugly */
make_global_classfuncs (obj_info);
@@ -307,7 +307,7 @@ camel_type_register (CamelType parent, const gchar * name,
g_hash_table_insert (ctype_to_typeinfo,
GINT_TO_POINTER (obj_info->self), obj_info);
- g_hash_table_insert (name_to_typeinfo, obj_info->name, obj_info);
+ g_hash_table_insert (name_to_typeinfo, (gpointer) obj_info->name, obj_info);
/* Sigh. Ugly. */
make_global_classfuncs (obj_info);