diff --git a/Classes/LinphoneUI/UIChatCell.m b/Classes/LinphoneUI/UIChatCell.m index 62cd8ee41..f615b14e3 100644 --- a/Classes/LinphoneUI/UIChatCell.m +++ b/Classes/LinphoneUI/UIChatCell.m @@ -64,9 +64,9 @@ - (NSString *)accessibilityValue { if (chatContentLabel.text) { return [NSString stringWithFormat:@"%@ - %@ (%li)", addressLabel.text, chatContentLabel.text, - [unreadMessageLabel.text integerValue]]; + (long)[unreadMessageLabel.text integerValue]]; } else { - return [NSString stringWithFormat:@"%@ (%li)", addressLabel.text, [unreadMessageLabel.text integerValue]]; + return [NSString stringWithFormat:@"%@ (%li)", addressLabel.text, (long)[unreadMessageLabel.text integerValue]]; } }