| Index: ui/base/clipboard/clipboard_win.cc
|
| diff --git a/ui/base/clipboard/clipboard_win.cc b/ui/base/clipboard/clipboard_win.cc
|
| index b269351f1ee5232e40b092cd1a093023af298b10..f37f0772cadf2912f9c26ea0520d041e99e9cbb7 100644
|
| --- a/ui/base/clipboard/clipboard_win.cc
|
| +++ b/ui/base/clipboard/clipboard_win.cc
|
| @@ -192,7 +192,7 @@ Clipboard::FormatType::FormatType() : data_() {}
|
| Clipboard::FormatType::FormatType(UINT native_format) : data_() {
|
| // There's no good way to actually initialize this in the constructor in
|
| // C++03.
|
| - data_.cfFormat = native_format;
|
| + data_.cfFormat = static_cast<CLIPFORMAT>(native_format);
|
| data_.dwAspect = DVASPECT_CONTENT;
|
| data_.lindex = -1;
|
| data_.tymed = TYMED_HGLOBAL;
|
| @@ -201,7 +201,7 @@ Clipboard::FormatType::FormatType(UINT native_format) : data_() {
|
| Clipboard::FormatType::FormatType(UINT native_format, LONG index) : data_() {
|
| // There's no good way to actually initialize this in the constructor in
|
| // C++03.
|
| - data_.cfFormat = native_format;
|
| + data_.cfFormat = static_cast<CLIPFORMAT>(native_format);
|
| data_.dwAspect = DVASPECT_CONTENT;
|
| data_.lindex = index;
|
| data_.tymed = TYMED_HGLOBAL;
|
|
|