[libsocialweb] contact: Fix compiler warning with an explicit cast
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsocialweb] contact: Fix compiler warning with an explicit cast
- Date: Fri, 29 Apr 2011 16:58:22 +0000 (UTC)
commit 3d14e291997ee285683c16587236f938073e265b
Author: Rob Bradford <rob linux intel com>
Date: Fri Apr 29 16:16:31 2011 +0100
contact: Fix compiler warning with an explicit cast
libsocialweb/sw-contact.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libsocialweb/sw-contact.c b/libsocialweb/sw-contact.c
index 993aa05..4e1c21f 100644
--- a/libsocialweb/sw-contact.c
+++ b/libsocialweb/sw-contact.c
@@ -516,7 +516,7 @@ sw_contact_save_into_cache (SwCacheable *cacheable, GKeyFile *keys,
g_key_file_set_string (keys, group, "type", "contact");
g_hash_table_iter_init (&iter, sw_contact_peek_hash (contact));
- while (g_hash_table_iter_next (&iter, (gpointer)&key, &value)) {
+ while (g_hash_table_iter_next (&iter, (gpointer)&key, (gpointer)&value)) {
g_key_file_set_string_list (keys, group, key, value,
g_strv_length (value));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]