Kaydet (Commit) e827d227 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:redundantcast (clang-cl)

Change-Id: I37e7e217d89fb51cdfe28ec37be901e20068c309
üst 079eee6f
......@@ -33,17 +33,17 @@
// Unicode-only defines to break dependence on UNICODE define
#if !defined ListView_InsertColumnW
#define ListView_InsertColumnW(hwnd, iCol, pcol) \
(int)SNDMSG((hwnd), LVM_INSERTCOLUMNW, (WPARAM)(int)(iCol), reinterpret_cast<LPARAM>(const_cast<const LV_COLUMNW *>(pcol)))
(int)SNDMSG((hwnd), LVM_INSERTCOLUMNW, (WPARAM)(int)(iCol), reinterpret_cast<LPARAM>(pcol))
#endif
#if !defined ListView_InsertItemW
#define ListView_InsertItemW(hwnd, pitem) \
(int)SNDMSG((hwnd), LVM_INSERTITEMW, 0, reinterpret_cast<LPARAM>(const_cast<const LV_ITEMW *>(pitem)))
(int)SNDMSG((hwnd), LVM_INSERTITEMW, 0, reinterpret_cast<LPARAM>(pitem))
#endif
#if !defined ListView_SetItemW
#define ListView_SetItemW(hwnd, pitem) \
(BOOL)SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(const_cast<const LV_ITEMW *>(pitem)))
(BOOL)SNDMSG((hwnd), LVM_SETITEMW, 0, reinterpret_cast<LPARAM>(pitem))
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment