[Analyzers][CPP] Turn on warning 4245 (#22080)

This commit is contained in:
sosssego
2022-11-17 17:37:22 +00:00
committed by GitHub
parent 4b47d71749
commit 1cf4f08ae7
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ DWORD WINAPI ThreadProc(LPVOID lpParam)
MSG messages;
Mocks::HwndCreator* creator = reinterpret_cast<Mocks::HwndCreator*>(lpParam);
if (!creator)
return -1;
return static_cast<DWORD>(-1);
if (RegisterDLLWindowClass((LPCWSTR)creator->getWindowClassName().c_str(), creator) != 0)
{