Commit add39a58 authored by Joerg Bornemann's avatar Joerg Bornemann
Browse files

fix warning C4267

We assing a DWORD to wParam when posting WM_DESTROY,
thus we can be sure that there's no loss of data.

Change-Id: I21c9b658ff06ea7792d0a357ff508bdab04fa5f7
Reviewed-by: default avatarFriedemann Kleint <>
parent 85b2017a
......@@ -108,7 +108,7 @@ int main(int argc, char **)
while (GetMessage(&msg, NULL, 0, 0))
if (msg.message == WM_DESTROY)
dwExitCode = msg.wParam;
dwExitCode = static_cast<DWORD>(msg.wParam);
Supports Markdown
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