aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableData.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2013-05-21 22:53:10 +0000
committerrowanbeentje <rowan@beent.je>2013-05-21 22:53:10 +0000
commit2737ac00c38513d976fda08104a5014221b0c99c (patch)
tree38829f7d5d9982b9648259cae0a269ef1640dd18 /Source/SPTableData.m
parent9432986de1d25527b133715ab12a8dffc2c5f6b6 (diff)
downloadsequelpro-2737ac00c38513d976fda08104a5014221b0c99c.tar.gz
sequelpro-2737ac00c38513d976fda08104a5014221b0c99c.tar.bz2
sequelpro-2737ac00c38513d976fda08104a5014221b0c99c.zip
- Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to enable some more
Diffstat (limited to 'Source/SPTableData.m')
-rw-r--r--Source/SPTableData.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableData.m b/Source/SPTableData.m
index 594d1df4..03ce039e 100644
--- a/Source/SPTableData.m
+++ b/Source/SPTableData.m
@@ -1127,7 +1127,7 @@
SPRowCountQueryUsageLevels rowCountLevel = SPRowCountFetchAlways;
NSInteger rowCountCheapBoundary = 5242880;
#ifndef SP_CODA
- rowCountLevel = [[[NSUserDefaults standardUserDefaults] objectForKey:SPTableRowCountQueryLevel] integerValue];
+ rowCountLevel = (SPRowCountQueryUsageLevels)[[[NSUserDefaults standardUserDefaults] objectForKey:SPTableRowCountQueryLevel] integerValue];
rowCountCheapBoundary = [[[NSUserDefaults standardUserDefaults] objectForKey:SPTableRowCountCheapSizeBoundary] integerValue];
#endif
@@ -1429,4 +1429,4 @@
#endif
-@end \ No newline at end of file
+@end