| Index: ppapi/shared_impl/array_writer.h
|
| diff --git a/ppapi/shared_impl/array_writer.h b/ppapi/shared_impl/array_writer.h
|
| index fce10e4fc73f2c9c79848d225201f7a68a5655fe..1d2608adc0441bc1d1b1086879e1d82a78671372 100644
|
| --- a/ppapi/shared_impl/array_writer.h
|
| +++ b/ppapi/shared_impl/array_writer.h
|
| @@ -74,7 +74,8 @@ class PPAPI_SHARED_EXPORT ArrayWriter {
|
| // comment of StoreArray() for detail.
|
| template <typename T>
|
| bool StoreVector(const std::vector<T>& input) {
|
| - return StoreArray(input.size() ? &input[0] : NULL, input.size());
|
| + return StoreArray(input.size() ? &input[0] : NULL,
|
| + static_cast<uint32_t>(input.size()));
|
| }
|
|
|
| // Stores the given vector of resources as PP_Resources to the output vector,
|
|
|