diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 10:10:05 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-06-03 10:10:05 +0800 |
commit | a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e (patch) | |
tree | 51415e9b150ae8e8de2db5a3d7c529f90829bd90 /calendar/conduits/memo | |
parent | 677df14504c5ad80efbb417c6ceea8d8494e583d (diff) | |
download | gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.gz gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.bz2 gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.lz gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.xz gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.tar.zst gsoc2013-evolution-a01dfc76dc4fe9374f25d7fde53a78c4cf7efd0e.zip |
Fix compiler warnings in the calendar directory (#439122).
svn path=/trunk/; revision=33625
Diffstat (limited to 'calendar/conduits/memo')
-rw-r--r-- | calendar/conduits/memo/memo-conduit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/conduits/memo/memo-conduit.c b/calendar/conduits/memo/memo-conduit.c index 49f5170f7f..538e4919a6 100644 --- a/calendar/conduits/memo/memo-conduit.c +++ b/calendar/conduits/memo/memo-conduit.c @@ -497,7 +497,7 @@ local_record_to_pilot_record (EMemoLocalRecord *local, pi_buffer_free(buffer); #else - p.record = record; + p.record = (unsigned char *)record; p.length = pack_Memo (local->memo, p.record, 0xffff); #endif return p; @@ -1153,7 +1153,7 @@ for_each (GnomePilotConduitSyncAbs *conduit, LOG(fprintf(stderr, "for_each: calling local_record_from_comp\n")); local_record_from_comp (*local, comps->data, ctxt); LOG(fprintf(stderr, "for_each: calling g_list_prepend\n")); - g_list_prepend (ctxt->locals, *local); + ctxt->locals = g_list_prepend (ctxt->locals, *local); LOG(fprintf(stderr, "for_each: setting iterator = comps\n")); iterator = comps; } else { @@ -1171,7 +1171,7 @@ for_each (GnomePilotConduitSyncAbs *conduit, LOG(fprintf(stderr, "for_each: calling local_record_from_comp\n")); local_record_from_comp (*local, iterator->data, ctxt); LOG(fprintf(stderr, "for_each: calling g_list_prepend\n")); - g_list_prepend (ctxt->locals, *local); + ctxt->locals = g_list_prepend (ctxt->locals, *local); } else { LOG (g_message ( "for_each ending" )); @@ -1212,7 +1212,7 @@ for_each_modified (GnomePilotConduitSyncAbs *conduit, LOG(fprintf(stderr, "for_each_modified: calling local_record_from_comp\n")); local_record_from_comp (*local, ccc->comp, ctxt); LOG(fprintf(stderr, "for_each_modified: calling g_list_prepend\n")); - g_list_prepend (ctxt->locals, *local); + ctxt->locals = g_list_prepend (ctxt->locals, *local); } else { LOG (g_message ( "no events" )); @@ -1230,7 +1230,7 @@ for_each_modified (GnomePilotConduitSyncAbs *conduit, LOG(fprintf(stderr, "for_each_modified: calling local_record_from_comp\n")); local_record_from_comp (*local, ccc->comp, ctxt); LOG(fprintf(stderr, "for_each_modified: calling g_list_prepend\n")); - g_list_prepend (ctxt->locals, *local); + ctxt->locals = g_list_prepend (ctxt->locals, *local); } else { LOG (g_message ( "for_each_modified ending" )); |