diff options
author | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-12-14 04:58:30 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-12-14 04:58:30 +0800 |
commit | da131894891d58213745cc9b852a1070b3a9d4fc (patch) | |
tree | 8a2af9bfbb42df35a8930a576b61f7683316ea42 /camel | |
parent | 66587d89a30adfd7251dfd586e6213f9e9c536a0 (diff) | |
download | gsoc2013-evolution-da131894891d58213745cc9b852a1070b3a9d4fc.tar gsoc2013-evolution-da131894891d58213745cc9b852a1070b3a9d4fc.tar.gz gsoc2013-evolution-da131894891d58213745cc9b852a1070b3a9d4fc.tar.bz2 gsoc2013-evolution-da131894891d58213745cc9b852a1070b3a9d4fc.tar.lz gsoc2013-evolution-da131894891d58213745cc9b852a1070b3a9d4fc.tar.xz gsoc2013-evolution-da131894891d58213745cc9b852a1070b3a9d4fc.tar.zst gsoc2013-evolution-da131894891d58213745cc9b852a1070b3a9d4fc.zip |
cast the key argument to g_hash_table_insert to a gpointer to avoid compiler warnings
svn path=/trunk/; revision=15023
Diffstat (limited to 'camel')
-rw-r--r-- | camel/camel-object.c | 4 |
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); |