diff options
author | rowanbeentje <rowan@beent.je> | 2010-01-09 01:38:23 +0000 |
---|---|---|
committer | rowanbeentje <rowan@beent.je> | 2010-01-09 01:38:23 +0000 |
commit | 9004533ba1d84d670a77cbfc9eae401b66e9dd0e (patch) | |
tree | 8d16781c788a964e45102b66ffc04b77fa1fb9e9 /Source/SPExportController.m | |
parent | fcb6ce6cbb0bd4179e22a3dd17dd12e4a3529cdd (diff) | |
download | sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.gz sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.bz2 sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.zip |
- Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for release builds, including a large number of 64bit compatibility upgrades and tweaks
- Upgrade RegexKitLite to 3.3
Diffstat (limited to 'Source/SPExportController.m')
-rw-r--r-- | Source/SPExportController.m | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/SPExportController.m b/Source/SPExportController.m index c4fa682c..4a0e78ee 100644 --- a/Source/SPExportController.m +++ b/Source/SPExportController.m @@ -175,7 +175,7 @@ #pragma mark - #pragma mark Table view datasource methods -- (int)numberOfRowsInTableView:(NSTableView *)aTableView; +- (NSInteger)numberOfRowsInTableView:(NSTableView *)aTableView; { return [tables count]; } @@ -248,7 +248,7 @@ /** * Invoked when the user */ -- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo +- (void)sheetDidEnd:(NSWindow *)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo { // Perform the export if (returnCode == NSOKButton) { @@ -261,7 +261,7 @@ /** * Invoked when the user dismisses the save panel. Updates the selected directory is they clicked OK. */ -- (void)savePanelDidEnd:(NSSavePanel *)panel returnCode:(int)returnCode contextInfo:(void *)contextInfo +- (void)savePanelDidEnd:(NSSavePanel *)panel returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo { if (returnCode == NSOKButton) { [exportPathField setStringValue:[panel directory]]; @@ -404,7 +404,7 @@ // Update the progress text and reset the progress bar to indeterminate status NSString *tableName = [exportTables objectAtIndex:i]; - [exportProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %d of %d (%@): fetching data...", @"text showing that app is fetching data for table dump"), (i + 1), tableCount, tableName]]; + [exportProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %lu of %l (%@): fetching data...", @"text showing that app is fetching data for table dump"), (unsigned long)(i + 1), (unsigned long)tableCount, tableName]]; [exportProgressText displayIfNeeded]; [exportProgressIndicator setIndeterminate:YES]; @@ -493,7 +493,7 @@ } // Update the progress text and set the progress bar back to determinate - [exportProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %d of %d (%@): Writing...", @"text showing that app is writing data for table export"), (i + 1), tableCount, tableName]]; + [exportProgressText setStringValue:[NSString stringWithFormat:NSLocalizedString(@"Table %lu of %lu (%@): Writing...", @"text showing that app is writing data for table export"), (unsigned long)(i + 1), (unsigned long)tableCount, tableName]]; [exportProgressText displayIfNeeded]; [exportProgressIndicator stopAnimation:self]; |