forked from pool/libical
14 lines
549 B
Diff
14 lines
549 B
Diff
|
Index: trunk/libical/src/libical/icalrecur.c
|
||
|
===================================================================
|
||
|
--- trunk/libical/src/libical/icalrecur.c (revision 1043)
|
||
|
+++ trunk/libical/src/libical/icalrecur.c (revision 1044)
|
||
|
@@ -361,7 +361,7 @@
|
||
|
char *t, *n;
|
||
|
int i=0;
|
||
|
int sign = 1;
|
||
|
- int weekno = 0;
|
||
|
+ char weekno = 0; /* note: Novell/Groupwise sends BYDAY=255SU, so we fit in a signed char to get -1 SU for last sunday. */
|
||
|
icalrecurrencetype_weekday wd;
|
||
|
short *array = parser->rt.by_day;
|
||
|
char* end;
|