Chromium Code Reviews| 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..80650d817fba75a8323a9bd8aabc73d342c8929e 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<unsigned int>(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<unsigned int>(VIDEO_MAX_PLANES)); |
|
xhwang
2014/05/15 17:42:24
You should cast this to size_t.
yunlian
2014/05/15 17:47:53
Done.
|
| // Capabilities check. |
| struct v4l2_capability caps; |