From: <svn...@op...> - 2010-09-17 00:02:21
|
Author: cdfrey Date: Fri Sep 17 02:02:12 2010 New Revision: 6126 URL: http://www.opensync.org/changeset/6126 Log: Added cast for const issues with libgcal libgcal 0.9.6 does not handle const char* correctly yet, so work around it. Modified: plugins/google-calendar/src/gcalendar.c Modified: plugins/google-calendar/src/gcalendar.c ============================================================================== --- plugins/google-calendar/src/gcalendar.c Fri Sep 17 01:51:39 2010 (r6125) +++ plugins/google-calendar/src/gcalendar.c Fri Sep 17 02:02:12 2010 (r6126) @@ -819,7 +819,8 @@ } result = gcal_update_xmlentry(gdata->handle, raw_xml, - &updated_event, osync_change_get_uid(change), etag); + &updated_event, (char*)osync_change_get_uid(change), + etag); if( result == -1 ) { msg = "Failed editing event!\n"; osync_trace(TRACE_INTERNAL, "Failed editing event: (etag: %s). HTTP code: %d, %s, %s\n", |