Skip to content

Commit 10da7fa

Browse files
author
Allen Winter
committed
src/libical/icalrecur.c - fix some types, found by splint
1 parent dce0d91 commit 10da7fa

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/libical/icalrecur.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1583,15 +1583,17 @@ static void set_datetime(icalrecur_iterator *impl, icaltimetype date)
15831583
(int32_t) (date.month - 1), /* UCal is 0-based */
15841584
(int32_t) date.day, &status);
15851585
} else {
1586-
int32_t hour, minute, second;
1586+
int hour, minute, second;
15871587

15881588
__get_start_time(impl, date, &hour, &minute, &second);
15891589

15901590
ucal_setDateTime(impl->greg,
15911591
(int32_t) date.year,
15921592
(int32_t) (date.month - 1), /* UCal is 0-based */
15931593
(int32_t) date.day,
1594-
hour, minute, second,
1594+
(int32_t) hour,
1595+
(int32_t) minute,
1596+
(int32_t) second,
15951597
&status);
15961598
}
15971599

0 commit comments

Comments
 (0)