Skip to content

Commit

Permalink
Update string formatting for 64bit compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
利辺羅エルネスト committed Apr 7, 2014
1 parent dfdc05a commit 7df84e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Camera/NBUCameraView.m
Original file line number Diff line number Diff line change
Expand Up @@ -572,8 +572,8 @@ - (void)takePicture:(id)sender
UIImage * image = [UIImage imageWithData:
[AVCaptureStillImageOutput jpegStillImageNSDataRepresentation:imageDataSampleBuffer]];

NBULogInfo(@"Captured jpeg image: %@ of size: %@ orientation: %ld",
image, NSStringFromCGSize(image.size), image.imageOrientation);
NBULogInfo(@"Captured jpeg image: %@ of size: %@ orientation: %@",
image, NSStringFromCGSize(image.size), @(image.imageOrientation));
#else
// Mock simulator
UIImage * image = _mockImage;
Expand Down

0 comments on commit 7df84e5

Please sign in to comment.