aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/cal-util/calobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/cal-util/calobj.c')
-rw-r--r--calendar/cal-util/calobj.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/cal-util/calobj.c b/calendar/cal-util/calobj.c
index 0ede42ebc6..bcb1b9bb88 100644
--- a/calendar/cal-util/calobj.c
+++ b/calendar/cal-util/calobj.c
@@ -253,7 +253,7 @@ weekdaylist (iCalObject *o, char **str)
(*str)++;
}
}
- } while (isalpha (**str));
+ } while (isalpha ((unsigned char) **str));
if (o->recur->weekday == 0){
struct tm tm = *localtime (&o->dtstart);
@@ -289,7 +289,7 @@ weekdaynum (iCalObject *o, char **str)
(*str)++;
}
}
- } while (isalpha (**str));
+ } while (isalpha ((unsigned char) **str));
}
static void