cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i..@apache.org
Subject [08/16] git commit: CB-6212 iOS: fix warnings compiled under arm64 64-bit
Date Wed, 23 Apr 2014 18:56:22 GMT
CB-6212 iOS: fix warnings compiled under arm64 64-bit

-one update to CDVCamera.m


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/91d6e10b
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/91d6e10b
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/91d6e10b

Branch: refs/heads/master
Commit: 91d6e10b29e492d8d72a2d5c759ebf7b876ecc3b
Parents: 6fb63fe
Author: James Jong <wjamesjong@gmail.com>
Authored: Thu Mar 13 10:16:30 2014 -0400
Committer: James Jong <wjamesjong@gmail.com>
Committed: Thu Mar 13 10:16:30 2014 -0400

----------------------------------------------------------------------
 src/ios/CDVCamera.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/91d6e10b/src/ios/CDVCamera.m
----------------------------------------------------------------------
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;


Mime
View raw message