Index: ppapi/proxy/device_enumeration_resource_helper.cc |
diff --git a/ppapi/proxy/device_enumeration_resource_helper.cc b/ppapi/proxy/device_enumeration_resource_helper.cc |
index 18b1939d5babf893c6cff3192676277478becc73..32a4e1db9840ea3156151769a255dec452e0ed59 100644 |
--- a/ppapi/proxy/device_enumeration_resource_helper.cc |
+++ b/ppapi/proxy/device_enumeration_resource_helper.cc |
@@ -146,7 +146,7 @@ void DeviceEnumerationResourceHelper::OnPluginMsgNotifyDeviceChange( |
CHECK(monitor_callback_.get()); |
scoped_ptr<PP_Resource[]> elements; |
- uint32_t size = devices.size(); |
+ uint32_t size = static_cast<uint32_t>(devices.size()); |
if (size > 0) { |
elements.reset(new PP_Resource[size]); |
for (size_t index = 0; index < size; ++index) { |