Skip to content
This repository was archived by the owner on Aug 14, 2019. It is now read-only.

Commit f52e83b

Browse files
committed
fix warnings/errors
1 parent 19e9c13 commit f52e83b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

JSQMessagesViewController/Controllers/JSQMessagesViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ - (UICollectionViewCell *)collectionView:(JSQMessagesCollectionView *)collection
513513
}
514514

515515
JSQMessagesCollectionViewCell *cell = [collectionView dequeueReusableCellWithReuseIdentifier:cellIdentifier forIndexPath:indexPath];
516-
cell.accessibilityIdentifier = [NSString stringWithFormat:@"(%ld, %ld)", indexPath.section, indexPath.row];
516+
cell.accessibilityIdentifier = [NSString stringWithFormat:@"(%ld, %ld)", (long)indexPath.section, (long)indexPath.row];
517517
cell.delegate = collectionView;
518518

519519
if (!isMediaMessage) {

JSQMessagesViewController/Model/JSQVideoMediaItem.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ - (void)encodeWithCoder:(NSCoder *)aCoder
164164
[super encodeWithCoder:aCoder];
165165
[aCoder encodeObject:self.fileURL forKey:NSStringFromSelector(@selector(fileURL))];
166166
[aCoder encodeBool:self.isReadyToPlay forKey:NSStringFromSelector(@selector(isReadyToPlay))];
167-
[aCoder encodeBool:self.thumbnailImage forKey:NSStringFromSelector(@selector(thumbnailImage))];
167+
[aCoder encodeObject:self.thumbnailImage forKey:NSStringFromSelector(@selector(thumbnailImage))];
168168
}
169169

170170
#pragma mark - NSCopying

0 commit comments

Comments
 (0)