| Index: ppapi/shared_impl/flash_clipboard_format_registry.cc
|
| diff --git a/ppapi/shared_impl/flash_clipboard_format_registry.cc b/ppapi/shared_impl/flash_clipboard_format_registry.cc
|
| index 89a051e2d3d9c5d5c6f833b38c9efedec531d569..e314417d4774e8959847e9dec65df6597f220aea 100644
|
| --- a/ppapi/shared_impl/flash_clipboard_format_registry.cc
|
| +++ b/ppapi/shared_impl/flash_clipboard_format_registry.cc
|
| @@ -43,7 +43,8 @@ uint32_t FlashClipboardFormatRegistry::RegisterFormat(
|
| custom_formats_.size() > kMaxNumFormats) {
|
| return PP_FLASH_CLIPBOARD_FORMAT_INVALID;
|
| }
|
| - uint32_t key = kFirstCustomFormat + custom_formats_.size();
|
| + uint32_t key = kFirstCustomFormat +
|
| + static_cast<uint32_t>(custom_formats_.size());
|
| custom_formats_[key] = format_name;
|
| return key;
|
| }
|
|
|