aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPExportInitializer.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2012-05-11 10:23:34 +0000
committerstuconnolly <stuart02@gmail.com>2012-05-11 10:23:34 +0000
commite97cd01d00f47fb8629d6aa67a3848852b299f6c (patch)
tree8916ece1b269824ff9f81b0270cf7d7837d681ed /Source/SPExportInitializer.m
parentddbb9327e4eff680e367df06b1852b93d469f970 (diff)
downloadsequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.tar.gz
sequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.tar.bz2
sequelpro-e97cd01d00f47fb8629d6aa67a3848852b299f6c.zip
Fix implicit cast warnings.
Diffstat (limited to 'Source/SPExportInitializer.m')
-rw-r--r--Source/SPExportInitializer.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPExportInitializer.m b/Source/SPExportInitializer.m
index b02ef927..4cad22ba 100644
--- a/Source/SPExportInitializer.m
+++ b/Source/SPExportInitializer.m
@@ -420,7 +420,7 @@
[exporter setExportOutputEncoding:[connection stringEncoding]];
[exporter setExportMaxProgress:(NSInteger)[exportProgressIndicator bounds].size.width];
[exporter setExportUsingLowMemoryBlockingStreaming:[exportProcessLowMemoryButton state]];
- [exporter setExportOutputCompressionFormat:[exportOutputCompressionFormatPopupButton indexOfSelectedItem]];
+ [exporter setExportOutputCompressionFormat:(SPFileCompressionFormat)[exportOutputCompressionFormatPopupButton indexOfSelectedItem]];
[exporter setExportOutputCompressFile:([exportOutputCompressionFormatPopupButton indexOfSelectedItem] != SPNoCompression)];
}
@@ -431,7 +431,7 @@
{
if ([exportFile createExportFileHandle:NO] == SPExportFileHandleCreated) {
- [exportFile setCompressionFormat:[exportOutputCompressionFormatPopupButton indexOfSelectedItem]];
+ [exportFile setCompressionFormat:(SPFileCompressionFormat)[exportOutputCompressionFormatPopupButton indexOfSelectedItem]];
if ([exportFile exportFileNeedsCSVHeader]) {
[self writeCSVHeaderToExportFile:exportFile];