diff options
Diffstat (limited to 'Source/SPDataImport.m')
-rw-r--r-- | Source/SPDataImport.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDataImport.m b/Source/SPDataImport.m index 729a7139..34c535c0 100644 --- a/Source/SPDataImport.m +++ b/Source/SPDataImport.m @@ -1261,7 +1261,7 @@ fieldMappingArrayHasGlobalVariables = NO; // Init the field mapper controller - fieldMapperController = [[SPFieldMapperController alloc] initWithDelegate:self]; + fieldMapperController = [(SPFieldMapperController *)[SPFieldMapperController alloc] initWithDelegate:self]; [fieldMapperController setConnection:mySQLConnection]; [fieldMapperController setSourcePath:filename]; [fieldMapperController setImportDataArray:fieldMappingImportArray hasHeader:[importFieldNamesSwitch state] isPreview:fieldMappingImportArrayIsPreview]; |