UIChatCell: fix compilation

This commit is contained in:
Gautier Pelloux-Prayer 2015-06-26 16:17:26 +02:00
parent d111b84d6f
commit 114a6335b9

View file

@ -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]];
}
}