diff options
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 0e3faa0711..0bfd8b7305 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -504,7 +504,7 @@ list_add_addresses (GList *list, const CamelInternetAddress *cia, const GSList * } if (notme && !g_hash_table_lookup (rcpt_hash, addr)) { - g_hash_table_insert (rcpt_hash, g_strdup (addr), GINT_TO_POINTER (1)); + g_hash_table_insert (rcpt_hash, (char *) addr, GINT_TO_POINTER (1)); list = g_list_append (list, full); } else g_free (full); @@ -658,7 +658,7 @@ mail_generate_reply (CamelFolder *folder, CamelMimeMessage *message, const char /* Get the Reply-To address so we can ignore references to it in the Cc: list */ camel_internet_address_get (reply_to, 0, NULL, &reply_addr); - g_hash_table_insert (rcpt_hash, reply_addr, GINT_TO_POINTER (1)); + g_hash_table_insert (rcpt_hash, (char *) reply_addr, GINT_TO_POINTER (1)); to = g_list_append (to, camel_address_format (CAMEL_ADDRESS (reply_to))); } |