Permalink
Browse files

Fixed some misc build errors.

  • Loading branch information...
1 parent ffa1668 commit 5bbda91815c964640c2d876a8750fb43f37e813a @marcweil marcweil committed Jun 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Todoly/TBMasterViewController.m
@@ -126,7 +126,7 @@ - (void)reloadData {
}
- (void)sortItems {
- [_items sortUsingComparator:^(id obj1, id obj2) {
+ [_items sortUsingComparator:^NSComparisonResult (TBTodoItem *obj1, TBTodoItem *obj2) {
if ([obj1 done] != [obj2 done]) {
return ([obj1 done] ? NSOrderedAscending : NSOrderedDescending);
}

0 comments on commit 5bbda91

Please sign in to comment.