evolution-data-server r9700 - branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi



Author: msuman
Date: Wed Oct 22 06:22:40 2008
New Revision: 9700
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=9700&view=rev

Log:
MAPI: Ensure proper type casting when assigning the return value of 'still' an implicitly declared function.

Modified:
   branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/ChangeLog
   branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-folder.c

Modified: branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-folder.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-folder.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/camel/providers/mapi/camel-mapi-folder.c	Wed Oct 22 06:22:40 2008
@@ -752,8 +752,7 @@
 
 	msg_class = (const char *) exchange_mapi_util_find_array_propval (array, PR_MESSAGE_CLASS);
 	if (g_str_has_prefix (msg_class, IPM_SCHEDULE_MEETING_PREFIX)) {
-		gchar *appointment_body_str = NULL;
-		appointment_body_str = exchange_mapi_cal_util_camel_helper (array, streams, recipients, attachments);
+		gchar *appointment_body_str = (gchar *) exchange_mapi_cal_util_camel_helper (array, streams, recipients, attachments);
 
 		body = g_new0(ExchangeMAPIStream, 1);
 		body->proptag = PR_BODY;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]