[evolution-data-server] Fix the rest (two) compiler warnings



commit 120a880396d1c48fee01cef63257e43986fe00f0
Author: Milan Crha <mcrha redhat com>
Date:   Fri Jun 5 15:12:30 2009 +0200

    Fix the rest (two) compiler warnings
    
    I kept the format string warning here, as it shows only few warnings.
---
 calendar/backends/weather/e-cal-backend-weather.c  |    2 +-
 camel/providers/groupwise/camel-groupwise-folder.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/calendar/backends/weather/e-cal-backend-weather.c b/calendar/backends/weather/e-cal-backend-weather.c
index a8c7e69..5cb4980 100644
--- a/calendar/backends/weather/e-cal-backend-weather.c
+++ b/calendar/backends/weather/e-cal-backend-weather.c
@@ -618,7 +618,7 @@ e_cal_backend_weather_add_timezone (ECalBackendSync *backend, EDataCal *cal, con
 	ECalBackendWeatherPrivate *priv;
 	icalcomponent *tz_comp;
 	icaltimezone *zone;
-	gchar *tzid;
+	const gchar *tzid;
 
 	cbw = (ECalBackendWeather*) backend;
 
diff --git a/camel/providers/groupwise/camel-groupwise-folder.c b/camel/providers/groupwise/camel-groupwise-folder.c
index 71fdd09..61a6961 100644
--- a/camel/providers/groupwise/camel-groupwise-folder.c
+++ b/camel/providers/groupwise/camel-groupwise-folder.c
@@ -1462,7 +1462,7 @@ groupwise_folder_set_threading_data (CamelGroupwiseMessageInfo *mi, EGwItem *ite
 
 	/* set message id */
 	msgid = camel_header_msgid_decode(message_id);
-	digest = get_md5_digest (msgid);
+	digest = get_md5_digest ((const guchar *)msgid);
 	memcpy(mi->info.message_id.id.hash, digest, sizeof(mi->info.message_id.id.hash));
 	g_free (msgid);
 



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