diff --git a/calendar/libical/src/libical/icalduration.c b/calendar/libical/src/libical/icalduration.c index 50749259fd6f..b54e1b1e99a6 100644 --- a/calendar/libical/src/libical/icalduration.c +++ b/calendar/libical/src/libical/icalduration.c @@ -3,7 +3,7 @@ FILE: icaltime.c CREATOR: eric 02 June 2000 - $Id: icalduration.c,v 1.18 2005/01/24 11:50:54 acampi Exp $ + $Id: icalduration.c,v 1.19 2005/02/15 17:38:58 acampi Exp $ $Locker: $ (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org @@ -40,7 +40,9 @@ #include "icalmemory.h" #include "icalvalue.h" - +#ifdef WIN32 +#define snprintf _snprintf +#endif /* From Seth Alves, */ diff --git a/calendar/libical/src/libical/icalrecur.c b/calendar/libical/src/libical/icalrecur.c index adcc439b3dd9..180520018958 100644 --- a/calendar/libical/src/libical/icalrecur.c +++ b/calendar/libical/src/libical/icalrecur.c @@ -3,7 +3,7 @@ FILE: icalrecur.c CREATOR: eric 16 May 2000 - $Id: icalrecur.c,v 1.62 2005/01/24 13:04:23 acampi Exp $ + $Id: icalrecur.c,v 1.63 2005/02/15 17:39:00 acampi Exp $ $Locker: $ @@ -155,6 +155,10 @@ typedef long intptr_t; #include #include /* For offsetof() macro */ +#ifdef WIN32 +#define snprintf _snprintf +#endif + #include "pvl.h" /** This is the last year we will go up to, since 32-bit time_t values diff --git a/calendar/libical/src/libical/vcomponent.cpp b/calendar/libical/src/libical/vcomponent.cpp index 27ea61a7f85d..cc4fc6b0861a 100644 --- a/calendar/libical/src/libical/vcomponent.cpp +++ b/calendar/libical/src/libical/vcomponent.cpp @@ -402,7 +402,7 @@ void VComponent::set_sequence(int v){ int VComponent::get_status(){ return (int)icalcomponent_get_status(imp); } -void VComponent::set_status(int v){ +void VComponent::set_status(enum icalproperty_status v){ icalcomponent_set_status(imp, v); } diff --git a/calendar/libical/src/libical/vcomponent.h b/calendar/libical/src/libical/vcomponent.h index fb128adc1c23..fc7901237192 100644 --- a/calendar/libical/src/libical/vcomponent.h +++ b/calendar/libical/src/libical/vcomponent.h @@ -164,7 +164,7 @@ public: void set_sequence(int v); int get_status(); - void set_status(int v); + void set_status(enum icalproperty_status v); public: