aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPFavoritesPreferencePane.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPFavoritesPreferencePane.m')
-rw-r--r--Source/SPFavoritesPreferencePane.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPFavoritesPreferencePane.m b/Source/SPFavoritesPreferencePane.m
index 7d108364..a5099f73 100644
--- a/Source/SPFavoritesPreferencePane.m
+++ b/Source/SPFavoritesPreferencePane.m
@@ -87,7 +87,7 @@
[favoritesTabView setTabViewType:NSNoTabsNoBorder];
// Sort favorites if a sort type has been selected
- if (currentSortItem > -1) [self _sortFavorites];
+ if ((NSInteger)currentSortItem > -1) [self _sortFavorites];
}
#pragma mark -
@@ -205,7 +205,7 @@
// Perform sorting
[self _sortFavorites];
- if (previousSortItem > -1) [[[sender menu] itemAtIndex:previousSortItem] setState:NSOffState];
+ if ((NSInteger)previousSortItem > -1) [[[sender menu] itemAtIndex:previousSortItem] setState:NSOffState];
[[[sender menu] itemAtIndex:currentSortItem] setState:NSOnState];
}