| Index: media/base/video_frame_impl.cc
|
| diff --git a/media/base/video_frame_impl.cc b/media/base/video_frame_impl.cc
|
| index d132d0ce411979929244a4ad2fb7800d8a248e92..aabda6c54ed9ccd48baae9fc16975ed53b2b7376 100644
|
| --- a/media/base/video_frame_impl.cc
|
| +++ b/media/base/video_frame_impl.cc
|
| @@ -67,7 +67,8 @@ bool VideoFrameImpl::AllocateRGB(size_t bytes_per_pixel) {
|
| surface_.data[VideoSurface::kRGBPlane] = new uint8[bytes_per_row *
|
| surface_.height];
|
| DCHECK(surface_.data[VideoSurface::kRGBPlane]);
|
| - DCHECK(!(reinterpret_cast<int>(surface_.data[VideoSurface::kRGBPlane]) & 7));
|
| + DCHECK(!(reinterpret_cast<intptr_t>(
|
| + surface_.data[VideoSurface::kRGBPlane]) & 7));
|
| COMPILE_ASSERT(0 == VideoSurface::kRGBPlane, RGB_data_must_be_index_0);
|
| return (NULL != surface_.data[VideoSurface::kRGBPlane]);
|
| }
|
|
|