diff options
author | stuconnolly <stuart02@gmail.com> | 2011-03-04 22:05:55 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2011-03-04 22:05:55 +0000 |
commit | 09a49199cd951f2bb8947c7853d357ae53fb51de (patch) | |
tree | 53d6151fe931ae7ac513b629c7f700c5600276f1 /Source/SPFavoritesPreferencePane.m | |
parent | 994756398decf77738afb3c599d4cb9238c77cee (diff) | |
download | sequelpro-09a49199cd951f2bb8947c7853d357ae53fb51de.tar.gz sequelpro-09a49199cd951f2bb8947c7853d357ae53fb51de.tar.bz2 sequelpro-09a49199cd951f2bb8947c7853d357ae53fb51de.zip |
Fix more compiler warnings.
Diffstat (limited to 'Source/SPFavoritesPreferencePane.m')
-rw-r--r-- | Source/SPFavoritesPreferencePane.m | 4 |
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]; } |