From 77724fde60f683352f102b82a815cc84667ebdf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Mon, 22 Jul 2019 20:22:03 +0200 Subject: 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. --- platform/iphone/camera_ios.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/iphone/camera_ios.mm') 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 img[2]; { -- cgit v1.2.3