summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/dev/video_decoder_dev.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/cpp/dev/video_decoder_dev.cc')
-rw-r--r--ppapi/cpp/dev/video_decoder_dev.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/cpp/dev/video_decoder_dev.cc b/ppapi/cpp/dev/video_decoder_dev.cc
index dcc3b5d..df34986 100644
--- a/ppapi/cpp/dev/video_decoder_dev.cc
+++ b/ppapi/cpp/dev/video_decoder_dev.cc
@@ -42,7 +42,7 @@ void VideoDecoder_Dev::AssignPictureBuffers(
if (!has_interface<PPB_VideoDecoder_Dev>() || !pp_resource())
return;
get_interface<PPB_VideoDecoder_Dev>()->AssignPictureBuffers(
- pp_resource(), buffers.size(), &buffers[0]);
+ pp_resource(), static_cast<uint32_t>(buffers.size()), &buffers[0]);
}
int32_t VideoDecoder_Dev::Decode(