diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-17 00:11:55 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-17 00:11:55 +0800 |
commit | e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb (patch) | |
tree | 319f9a8d7601f7f0d028e6942aced54c439b8693 /addressbook/gui/component | |
parent | ea3e4f239a529716452159d5deac20cd9a38c832 (diff) | |
download | gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.gz gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.tar.zst gsoc2013-evolution-e4fa8fe10408c4c370e1e11e4bb2d7745f50aceb.zip |
Fix several types of pedantic compiler warnings.
Diffstat (limited to 'addressbook/gui/component')
-rw-r--r-- | addressbook/gui/component/addressbook-config.h | 2 | ||||
-rw-r--r-- | addressbook/gui/component/addressbook-view.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/addressbook/gui/component/addressbook-config.h b/addressbook/gui/component/addressbook-config.h index 04b44cd872..6ea33f1656 100644 --- a/addressbook/gui/component/addressbook-config.h +++ b/addressbook/gui/component/addressbook-config.h @@ -29,7 +29,7 @@ typedef enum { ADDRESSBOOK_LDAP_AUTH_NONE, ADDRESSBOOK_LDAP_AUTH_SIMPLE_EMAIL, - ADDRESSBOOK_LDAP_AUTH_SIMPLE_BINDDN, + ADDRESSBOOK_LDAP_AUTH_SIMPLE_BINDDN } AddressbookLDAPAuthType; typedef enum { diff --git a/addressbook/gui/component/addressbook-view.c b/addressbook/gui/component/addressbook-view.c index 53560e87d9..2f77fc4e50 100644 --- a/addressbook/gui/component/addressbook-view.c +++ b/addressbook/gui/component/addressbook-view.c @@ -479,7 +479,7 @@ set_status_message (EABView *eav, const char *message, AddressbookView *view) priv->activity_id = 0; } } else if (priv->activity_id == 0) { - char *clientid = g_strdup_printf ("%p", view); + char *clientid = g_strdup_printf ("%p", (gpointer) view); priv->activity_id = e_activity_handler_operation_started ( activity_handler, clientid, message, TRUE); |