Address cpplint issue "Using C-style cast. Use reinterpret_cast<BYTE*>(...) instead [readability/casting] [4]"
This commit is contained in:
parent
91cff2e6c7
commit
9b7fbd4d22
4 changed files with 41 additions and 26 deletions
|
@ -27,7 +27,8 @@ void Win32Notification::Show(
|
|||
|
||||
HDC hdcScreen = GetDC(NULL);
|
||||
image = CreateDIBitmap(hdcScreen, &bmi, CBM_INIT, icon.getPixels(),
|
||||
(BITMAPINFO*)&bmi, DIB_RGB_COLORS);
|
||||
reinterpret_cast<BITMAPINFO*>(&bmi),
|
||||
DIB_RGB_COLORS);
|
||||
ReleaseDC(NULL, hdcScreen);
|
||||
|
||||
icon.unlockPixels();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue