diff options
Diffstat (limited to 'meta/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch')
-rw-r--r-- | meta/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/meta/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch b/meta/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch new file mode 100644 index 0000000000..474031dcc0 --- /dev/null +++ b/meta/packages/opensync/libopensync-plugin-evolution2-0.17/fix-warnings.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- libopensync-plugin-evolution2-0.17/src/evolution2_ebook.c.old 2005-10-03 19:41:06.000000000 +0100 | ||
2 | +++ libopensync-plugin-evolution2-0.17/src/evolution2_ebook.c 2005-10-03 19:41:32.000000000 +0100 | ||
3 | @@ -133,7 +133,7 @@ | ||
4 | EContact *contact = E_CONTACT(l->data); | ||
5 | vcard = contact->parent; | ||
6 | char *data = e_vcard_to_string(&vcard, EVC_FORMAT_VCARD_30); | ||
7 | - char *uid = e_contact_get_const(contact, E_CONTACT_UID); | ||
8 | + char *uid = (char *)e_contact_get_const(contact, E_CONTACT_UID); | ||
9 | int datasize = strlen(data) + 1; | ||
10 | evo2_report_change(ctx, "contact", "vcard30", data, datasize, uid, CHANGE_ADDED); | ||
11 | } | ||