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/SPConnectionControllerInitializer.m | |
parent | ddbb9327e4eff680e367df06b1852b93d469f970 (diff) | |
download | sequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.tar.gz sequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.tar.bz2 sequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.zip |
Fix implicit cast warnings.
Diffstat (limited to 'Source/SPConnectionControllerInitializer.m')
-rw-r--r-- | Source/SPConnectionControllerInitializer.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPConnectionControllerInitializer.m b/Source/SPConnectionControllerInitializer.m index 081d07b1..7a50b003 100644 --- a/Source/SPConnectionControllerInitializer.m +++ b/Source/SPConnectionControllerInitializer.m @@ -113,9 +113,9 @@ static NSString *SPConnectionViewNibName = @"ConnectionView"; [self performSelector:@selector(_scrollToSelectedNode) withObject:nil afterDelay:0.0]; } - // Set sort items - currentSortItem = [prefs integerForKey:SPFavoritesSortedBy]; - reverseFavoritesSort = [prefs boolForKey:SPFavoritesSortedInReverse]; + // Set sort items + currentSortItem = (SPFavoritesSortItem)[prefs integerForKey:SPFavoritesSortedBy]; + reverseFavoritesSort = [prefs boolForKey:SPFavoritesSortedInReverse]; } return self; |