diff options
author | Eduardo Chappa <chappa@washington.edu> | 2018-03-08 09:00:11 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2018-03-08 09:00:11 -0700 |
commit | 3e46e0308a5e2cd645025b48fdc46654553f4968 (patch) | |
tree | 80172d69e485f74de466e0ccd95d2f3a85473598 /pith/icaltype.h | |
parent | 349642a84039a4b026513c32a3b4f8594acd50df (diff) | |
download | alpine-3e46e0308a5e2cd645025b48fdc46654553f4968.tar.xz |
* Change the definition of some definitions of some enum types from
Boolean to _Boolean, and Duration to _Duration, as these conflict
with some predefined constants in Mac Sierra. Reported by Ed James.
* Fix some compiler warnings in Mac Sierra. Reported by Ed James.
Diffstat (limited to 'pith/icaltype.h')
-rw-r--r-- | pith/icaltype.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pith/icaltype.h b/pith/icaltype.h index a65c9e0b..162d08d2 100644 --- a/pith/icaltype.h +++ b/pith/icaltype.h @@ -260,7 +260,7 @@ typedef enum {RelBegin, RelEnd, RelUnknown} Related; typedef enum {Parent, Child, Sibling} RelType; typedef enum {ReqPart, Chair, OptPart, NonPart, RoleUnknown} Role; typedef enum {RSVPFalse, RSVPTrue, RSVPUnknown} RSVP; -typedef enum {Binary, Boolean, CalAddress, Date, DateTime, Duration, +typedef enum {Binary, _Boolean, CalAddress, Date, DateTime, _Duration, Float, Integer, Period, Recur, _Text, Time, Uri, UtcOffset, ValueUnknown} Value; @@ -441,7 +441,7 @@ typedef struct vevent_summary_s { char *evend; char **duration; char **attendee; - char **description; + unsigned char **description; } VEVENT_SUMMARY_S; typedef enum {VCalendar = 0, VTimeZone, VEvent, VTodo, VJournal, |