mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 17:56:44 +02:00
[Analyzers][CPP]Changes to fix warning 26493 on PowerToys/tools (#23674)
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user