Skip to content

Commit

Permalink
Fixed typecast issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
robbdimitrov committed Oct 21, 2018
1 parent 8e6bc04 commit 258d1a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RDVCalendarView/RDVCalendarView.m
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ - (RDVCalendarDayCell *)dayCellForIndex:(NSInteger)index {

if (![[self visibleCells] containsObject:dayCell]) {
[dayCell prepareForReuse];
[dayCell.textLabel setText:[NSString stringWithFormat:@"%ld", index + 1]];
[dayCell.textLabel setText:[NSString stringWithFormat:@"%d", (int)index + 1]];

if (index + 1 == [self currentDay].day &&
[self month].month == [self currentDay].month &&
Expand Down

0 comments on commit 258d1a0

Please sign in to comment.