From fcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 26 Dec 2021 15:58:40 +0300 Subject: PBYTE -> uint8_t* --- plugins/AssocMgr/src/reg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/AssocMgr/src') diff --git a/plugins/AssocMgr/src/reg.cpp b/plugins/AssocMgr/src/reg.cpp index fda90a497c..6adb696026 100644 --- a/plugins/AssocMgr/src/reg.cpp +++ b/plugins/AssocMgr/src/reg.cpp @@ -354,7 +354,7 @@ static BOOL IsRegStrValueA(HKEY hKey, const wchar_t *pszValName, const char *psz static void WriteDbBackupData(const char *pszSetting, DWORD dwType, BYTE *pData, DWORD cbData) { size_t cbLen = cbData + sizeof(DWORD); - PBYTE buf = (PBYTE)mir_alloc(cbLen); + uint8_t *buf = (uint8_t*)mir_alloc(cbLen); if (buf) { *(DWORD*)buf = dwType; memcpy(buf + sizeof(DWORD), pData, cbData); -- cgit v1.2.3