diff options
Diffstat (limited to 'platform/osx/camera_osx.mm')
| -rw-r--r-- | platform/osx/camera_osx.mm | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/osx/camera_osx.mm b/platform/osx/camera_osx.mm index f13cf76beb..af09eec2eb 100644 --- a/platform/osx/camera_osx.mm +++ b/platform/osx/camera_osx.mm @@ -150,8 +150,8 @@  		{  			// do Y -			int new_width = CVPixelBufferGetWidthOfPlane(pixelBuffer, 0); -			int new_height = CVPixelBufferGetHeightOfPlane(pixelBuffer, 0); +			size_t new_width = CVPixelBufferGetWidthOfPlane(pixelBuffer, 0); +			size_t new_height = CVPixelBufferGetHeightOfPlane(pixelBuffer, 0);  			if ((width[0] != new_width) || (height[0] != new_height)) {  				width[0] = new_width; @@ -168,8 +168,8 @@  		{  			// do CbCr -			int new_width = CVPixelBufferGetWidthOfPlane(pixelBuffer, 1); -			int new_height = CVPixelBufferGetHeightOfPlane(pixelBuffer, 1); +			size_t new_width = CVPixelBufferGetWidthOfPlane(pixelBuffer, 1); +			size_t new_height = CVPixelBufferGetHeightOfPlane(pixelBuffer, 1);  			if ((width[1] != new_width) || (height[1] != new_height)) {  				width[1] = new_width;  |