From 91d6e10b29e492d8d72a2d5c759ebf7b876ecc3b Mon Sep 17 00:00:00 2001 From: James Jong Date: Thu, 13 Mar 2014 10:16:30 -0400 Subject: [PATCH] CB-6212 iOS: fix warnings compiled under arm64 64-bit -one update to CDVCamera.m --- src/ios/CDVCamera.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVCamera.m b/src/ios/CDVCamera.m index 8413ac5..9981747 100644 --- a/src/ios/CDVCamera.m +++ b/src/ios/CDVCamera.m @@ -84,7 +84,7 @@ static NSSet* org_apache_cordova_validArrowDirections; bool hasCamera = [UIImagePickerController isSourceTypeAvailable:sourceType]; if (!hasCamera) { - NSLog(@"Camera.getPicture: source type %ld not available.", sourceType); + NSLog(@"Camera.getPicture: source type %lu not available.", (unsigned long)sourceType); CDVPluginResult* result = [CDVPluginResult resultWithStatus:CDVCommandStatus_ERROR messageAsString:@"no camera available"]; [self.commandDelegate sendPluginResult:result callbackId:callbackId]; return;