commit a818718651ecb9621f0e0f18c7fdf9bd987229df
parent d26e6d00d3313b46d8d7eff4f2c121c774a4382f
Author: Ricardo Mones <ricardo@mones.org>
Date: Sat, 3 May 2014 13:19:37 +0200
Fix 'warning: passing argument 2 of ‘slist_copy_deep’ from incompatible pointer type'
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/addrduplicates.c b/src/addrduplicates.c
@@ -272,7 +272,7 @@ static gint collect_emails(ItemPerson *itemperson, AddressDataSource *ds)
addr = g_utf8_strdown(email->address, -1);
old_val = g_hash_table_lookup(addr_hash, addr);
if(old_val)
- new_val = slist_copy_deep(old_val, copy_hash_val);
+ new_val = slist_copy_deep(old_val, (GCopyFunc)copy_hash_val);
else
new_val = NULL;