More fixes for vcalendar crash on 64-bit arch.
authorAndrej Kacian <ticho@claws-mail.org>
Tue, 13 Sep 2016 09:45:22 +0000 (11:45 +0200)
committerAndrej Kacian <ticho@claws-mail.org>
Tue, 13 Sep 2016 09:45:22 +0000 (11:45 +0200)
Same issue as in commit d20742e, different place.
This should be the last one, though.

src/plugins/vcalendar/vcal_manager.c

index 017aa8c..b22947c 100644 (file)
@@ -448,7 +448,7 @@ gchar *vcal_manager_event_dump(VCalEvent *event, gboolean is_reply, gboolean is_
                                ICAL_ROLE_REQPARTICIPANT),
                            icalparameter_new_rsvp(ICAL_RSVP_TRUE),
                            icalparameter_new_partstat(status),
-                           0
+                           (void*)0
                            );
                icalcomponent_add_property(ievent, attprop);
        } else {
@@ -470,7 +470,7 @@ gchar *vcal_manager_event_dump(VCalEvent *event, gboolean is_reply, gboolean is_
                                    icalparameter_new_rsvp(ICAL_RSVP_TRUE),
                                    icalparameter_new_cutype(a->cutype),
                                    icalparameter_new_partstat(a->answer),
-                                   0
+                                   (void*)0
                                    );
 
                        icalcomponent_add_property(ievent, attprop);