summaryrefslogtreecommitdiff
path: root/platform/iphone/camera_ios.mm
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-07-22 20:22:03 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-07-22 20:31:15 +0200
commit77724fde60f683352f102b82a815cc84667ebdf5 (patch)
treedf0525cfa46984922e82a4ee4adf645756bfc0df /platform/iphone/camera_ios.mm
parent5dae2ea777da5395cf1b1e9a8bc6abc93f6ae6bb (diff)
Fix type mismatch in iOS interface orientation checks
Not sure why this error popped up when I enabled C++11 on the codebase, but I guess this should fix it.
Diffstat (limited to 'platform/iphone/camera_ios.mm')
-rw-r--r--platform/iphone/camera_ios.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/iphone/camera_ios.mm b/platform/iphone/camera_ios.mm
index 029ce6debf..ff84df66ff 100644
--- a/platform/iphone/camera_ios.mm
+++ b/platform/iphone/camera_ios.mm
@@ -158,7 +158,7 @@
} else if (dataCbCr == NULL) {
print_line("Couldn't access CbCr pixel buffer data");
} else {
- UIDeviceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
+ UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
Ref<Image> img[2];
{