Fix the rest (two) compiler warnings
authorMilan Crha <mcrha@redhat.com>
Fri, 5 Jun 2009 13:12:30 +0000 (15:12 +0200)
committerMilan Crha <mcrha@redhat.com>
Fri, 5 Jun 2009 13:12:30 +0000 (15:12 +0200)
I kept the format string warning here, as it shows only few warnings.

calendar/backends/weather/e-cal-backend-weather.c
camel/providers/groupwise/camel-groupwise-folder.c

index a8c7e69..5cb4980 100644 (file)
@@ -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;
 
index 71fdd09..61a6961 100644 (file)
@@ -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);