aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-list-editor/e-contact-list-editor.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 11:10:56 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-06-03 11:10:56 +0800
commitaf52113f2f8b934664a233a3a5dd1544dd347638 (patch)
tree43beeca5a8b04f9f90e357b8322f4a1379925254 /addressbook/gui/contact-list-editor/e-contact-list-editor.c
parent2ba6ef0e2b7d01f3e110bdc69950712b8a3e598b (diff)
downloadgsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.gz
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.bz2
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.lz
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.xz
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.tar.zst
gsoc2013-evolution-af52113f2f8b934664a233a3a5dd1544dd347638.zip
Fix compiler warnings in addressbook folder. (#440272)
svn path=/trunk/; revision=33630
Diffstat (limited to 'addressbook/gui/contact-list-editor/e-contact-list-editor.c')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index 6fb0791de3..36c88be3c0 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -1072,7 +1072,7 @@ table_drag_data_received_cb (ETable *table, int row, int col,
if (!strcmp (target_type, VCARD_TYPE)) {
- GList *contact_list = eab_contact_list_from_string (selection_data->data);
+ GList *contact_list = eab_contact_list_from_string ((char *)selection_data->data);
GList *c;
if (contact_list)
@@ -1166,7 +1166,7 @@ extract_info(EContactListEditor *editor)
photo.type = E_CONTACT_PHOTO_TYPE_INLINED;
photo.data.inlined.mime_type = NULL;
- photo.data.inlined.data = image_data;
+ photo.data.inlined.data = (unsigned char *)image_data;
photo.data.inlined.length = image_data_len;
e_contact_set (contact, E_CONTACT_LOGO, &photo);
@@ -1256,7 +1256,7 @@ fill_in_info(EContactListEditor *editor)
photo = e_contact_get (editor->contact, E_CONTACT_LOGO);
if (photo && photo->type == E_CONTACT_PHOTO_TYPE_INLINED) {
- e_image_chooser_set_image_data (E_IMAGE_CHOOSER (editor->list_image), photo->data.inlined.data, photo->data.inlined.length);
+ e_image_chooser_set_image_data (E_IMAGE_CHOOSER (editor->list_image), (char *)photo->data.inlined.data, photo->data.inlined.length);
e_contact_photo_free (photo);
}
}