[Analyzers][CPP]Changes to fix warning 26493 on PowerToys/tools (#23674)

This commit is contained in:
sosssego
2023-02-08 14:01:40 +00:00
committed by GitHub
parent c7f761a589
commit 10252c3c1e
9 changed files with 17 additions and 14 deletions

View File

@@ -27,7 +27,7 @@ wstring GetVersion(path filePath)
{
if (size)
{
VS_FIXEDFILEINFO* verInfo = (VS_FIXEDFILEINFO*)lpBuffer;
VS_FIXEDFILEINFO* verInfo = static_cast<VS_FIXEDFILEINFO*>(lpBuffer);
if (verInfo->dwSignature == 0xfeef04bd)
{
version =