diff options
author | stuconnolly <stuart02@gmail.com> | 2012-05-11 10:23:34 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2012-05-11 10:23:34 +0000 |
commit | e97cd01d00f47fb8629d6aa67a3848852b299f6c (patch) | |
tree | 8916ece1b269824ff9f81b0270cf7d7837d681ed /Source/SPConnectionController.m | |
parent | ddbb9327e4eff680e367df06b1852b93d469f970 (diff) | |
download | sequelpro-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.m | 2 |
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]; |