aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-11 10:23:34 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-11 10:23:34 +0000
commite97cd01d00f47fb8629d6aa67a3848852b299f6c (patch)
tree8916ece1b269824ff9f81b0270cf7d7837d681ed /Source/SPConnectionController.m
parentddbb9327e4eff680e367df06b1852b93d469f970 (diff)
downloadsequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.tar.gz
sequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.tar.bz2
sequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.zip
Fix implicit cast warnings.
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index cc1daeb7..2af457ec 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -435,7 +435,7 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2,
- (void)sortFavorites:(id)sender
{
SPFavoritesSortItem previousSortItem = currentSortItem;
- currentSortItem = [[sender menu] indexOfItem:sender];
+ currentSortItem = (SPFavoritesSortItem)[[sender menu] indexOfItem:sender];
[prefs setInteger:currentSortItem forKey:SPFavoritesSortedBy];