From cddcd7483a7c472598af098e759e5d309024f606 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 20:31:39 +0300 Subject: DWORD -> uint32_t --- plugins/CryptoPP/src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/CryptoPP/src') diff --git a/plugins/CryptoPP/src/main.cpp b/plugins/CryptoPP/src/main.cpp index bdc059828a..f2e9ad05a0 100644 --- a/plugins/CryptoPP/src/main.cpp +++ b/plugins/CryptoPP/src/main.cpp @@ -55,7 +55,7 @@ int CMPlugin::Load() ///////////////////////////////////////////////////////////////////////////////////////// -BOOL ExtractFileFromResource(HANDLE FH, int ResType, int ResId, DWORD* Size) +BOOL ExtractFileFromResource(HANDLE FH, int ResType, int ResId, uint32_t* Size) { HRSRC RH = FindResource(g_plugin.getInst(), MAKEINTRESOURCE(ResId), MAKEINTRESOURCE(ResType)); if (RH == nullptr) @@ -65,7 +65,7 @@ BOOL ExtractFileFromResource(HANDLE FH, int ResType, int ResId, DWORD* Size) if (RP == nullptr) return FALSE; - DWORD x, s = SizeofResource(g_plugin.getInst(), RH); + DWORD x, s = SizeofResource(g_plugin.getInst(), RH); if (!WriteFile(FH, RP, s, &x, nullptr)) return FALSE; if (x != s) return FALSE; if (Size) *Size = s; -- cgit v1.2.3