Skip to content

Commit

Permalink
Fix cast warning on 32 bit
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrudel committed Jan 4, 2016
1 parent 79bc2cc commit 9b6d528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pod/Classes/MZCoreDataBrowserObjectViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
}
id object = [self.object valueForKey:self.attributeNames[indexPath.row]];
if ([object isKindOfClass:[NSArray class]] || [object isKindOfClass:[NSSet class]] || [object isKindOfClass:[NSDictionary class]]) {
cell.detailTextLabel.text = [NSString stringWithFormat:@"%@ (%ld elements)", NSStringFromClass([object class]), [object count]];
cell.detailTextLabel.text = [NSString stringWithFormat:@"%@ (%ld elements)", NSStringFromClass([object class]), (unsigned long)[object count]];
} else {
cell.detailTextLabel.text = [object description];
}
Expand Down

0 comments on commit 9b6d528

Please sign in to comment.