Index: content/common/gpu/media/v4l2_video_encode_accelerator.cc |
diff --git a/content/common/gpu/media/v4l2_video_encode_accelerator.cc b/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
index 0dd33a06ad33cbdf260c53055a585e247d416576..95d5079c32529ee8c3a6080a15e0f61772321853 100644 |
--- a/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
+++ b/content/common/gpu/media/v4l2_video_encode_accelerator.cc |
@@ -873,7 +873,7 @@ bool V4L2VideoEncodeAccelerator::NegotiateInputFormat( |
} |
size_t input_planes_count = media::VideoFrame::NumPlanes(input_format); |
- DCHECK_LE(input_planes_count, VIDEO_MAX_PLANES); |
+ DCHECK_LE(input_planes_count, static_cast<size_t>(VIDEO_MAX_PLANES)); |
// First see if we the device can use the provided input_format directly. |
struct v4l2_format format; |
@@ -892,7 +892,7 @@ bool V4L2VideoEncodeAccelerator::NegotiateInputFormat( |
return false; |
input_planes_count = media::VideoFrame::NumPlanes(input_format); |
- DCHECK_LE(input_planes_count, VIDEO_MAX_PLANES); |
+ DCHECK_LE(input_planes_count, static_cast<size_t>(VIDEO_MAX_PLANES)); |
// Device might have adjusted parameters, reset them along with the format. |
memset(&format, 0, sizeof(format)); |