| Index: ui/base/clipboard/clipboard_win.cc
|
| diff --git a/ui/base/clipboard/clipboard_win.cc b/ui/base/clipboard/clipboard_win.cc
|
| index 18a42e2349232e9e51d54ec94120502b4abca195..4f5dafcb9eeaf5695de709ea6b4186811cc819f0 100644
|
| --- a/ui/base/clipboard/clipboard_win.cc
|
| +++ b/ui/base/clipboard/clipboard_win.cc
|
| @@ -167,7 +167,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;
|
| @@ -176,7 +176,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;
|
|
|