Index: content/common/gpu/media/v4l2_image_processor.cc |
diff --git a/content/common/gpu/media/v4l2_image_processor.cc b/content/common/gpu/media/v4l2_image_processor.cc |
index 67303daabc57f29a1ff10e504f706f677f022b1e..1a9dd292180e0c92a421f0e9df3417beaab7d41a 100644 |
--- a/content/common/gpu/media/v4l2_image_processor.cc |
+++ b/content/common/gpu/media/v4l2_image_processor.cc |
@@ -119,9 +119,9 @@ bool V4L2ImageProcessor::Initialize(media::VideoFrame::Format input_format, |
output_allocated_size_ = output_allocated_size; |
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)); |
output_planes_count_ = media::VideoFrame::NumPlanes(output_format); |
- DCHECK_LE(output_planes_count_, VIDEO_MAX_PLANES); |
+ DCHECK_LE(output_planes_count_, static_cast<size_t>(VIDEO_MAX_PLANES)); |
// Capabilities check. |
struct v4l2_capability caps; |