aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPrintController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2011-03-15 02:21:09 +0000
committerrowanbeentje <rowan@beent.je>2011-03-15 02:21:09 +0000
commitce26c1a8d44743c418e6af461ba970cea3afaaee (patch)
treef2b8178cea628cd023e4c3183693d05aa44e50ac /Source/SPPrintController.m
parentd2b4123427c21c522b2e4496a6d54eb74aabe62d (diff)
downloadsequelpro-ce26c1a8d44743c418e6af461ba970cea3afaaee.tar.gz
sequelpro-ce26c1a8d44743c418e6af461ba970cea3afaaee.tar.bz2
sequelpro-ce26c1a8d44743c418e6af461ba970cea3afaaee.zip
- Fix more compiler warnings
- Tweak README
Diffstat (limited to 'Source/SPPrintController.m')
-rw-r--r--Source/SPPrintController.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPPrintController.m b/Source/SPPrintController.m
index 6f6a4ce8..199513f8 100644
--- a/Source/SPPrintController.m
+++ b/Source/SPPrintController.m
@@ -34,6 +34,7 @@
#import "SPConnectionController.h"
#import "SPExtendedTableInfo.h"
#import "SPTableTriggers.h"
+#import "SPDatabaseViewController.h"
@implementation SPDatabaseDocument (SPPrintController)
@@ -107,7 +108,7 @@
NSInteger rowLimit = [prefs integerForKey:SPPrintWarningRowLimit];
// Result count minus one because the first element is the column names
- NSUInteger resultRows = ([[tableContentInstance currentResult] count] - 1);
+ NSInteger resultRows = ([[tableContentInstance currentResult] count] - 1);
if (resultRows > rowLimit) {