From 748c73de0f477c154d6c120d4d27e676ae887a03 Mon Sep 17 00:00:00 2001 From: Praveen Kumar Date: Wed, 24 Aug 2005 09:43:41 +0000 Subject: Removed the warning that are generated when compiled with GCC 4. 2005-08-24 Praveen Kumar * plugins/exchange-operations/exchange-account-setup.c: * plugins/exchange-operations/exchange-calendar.c: * plugins/exchange-operations/exchange-config-listener.c: * plugins/exchange-operations/exchange-contacts.c: * plugins/exchange-operations/exchange-delegates-user.c: * plugins/exchange-operations/exchange-folder-size-display.c: * plugins/exchange-operations/exchange-folder.c: * plugins/exchange-operations/exchange-operations.c: Removed the warning that are generated when compiled with GCC 4. * plugins/exchange-operations/exchange-calendar.c: Fixed a build break due to the modification of the 'source_type' field in the ECalConfigTargetSource class. svn path=/trunk/; revision=30237 --- plugins/exchange-operations/exchange-delegates-user.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/exchange-operations/exchange-delegates-user.c') diff --git a/plugins/exchange-operations/exchange-delegates-user.c b/plugins/exchange-operations/exchange-delegates-user.c index 38f82563e5..4b0913045c 100644 --- a/plugins/exchange-operations/exchange-delegates-user.c +++ b/plugins/exchange-operations/exchange-delegates-user.c @@ -215,11 +215,11 @@ exchange_delegates_user_edit (ExchangeDelegatesUser *user, g_object_weak_ref (G_OBJECT (parent_window), parent_window_destroyed, dialog); g_object_add_weak_pointer (G_OBJECT (parent_window), - (void **)&parent_window); + (gpointer*)&parent_window); button = gtk_dialog_run (GTK_DIALOG (dialog)); if (parent_window) { g_object_remove_weak_pointer (G_OBJECT (parent_window), - (void **)&parent_window); + (gpointer *)&parent_window); g_object_weak_unref (G_OBJECT (parent_window), parent_window_destroyed, dialog); } @@ -324,9 +324,9 @@ exchange_delegates_user_new_from_gc (E2kGlobalCatalog *gc, p--; g_byte_array_append (user->entryid, creator_entryid->data, p - creator_entryid->data + 1); - g_byte_array_append (user->entryid, entry->legacy_exchange_dn, + g_byte_array_append (user->entryid, (guint8*)entry->legacy_exchange_dn, strlen (entry->legacy_exchange_dn)); - g_byte_array_append (user->entryid, "", 1); + g_byte_array_append (user->entryid, (guint8*)"", 1); return user; } -- cgit v1.2.3