forked from pool/libical
2ebb3b2bd4
looks good.. reviewed OBS-URL: https://build.opensuse.org/request/show/64007 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libical?expand=0&rev=11
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;
|