diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 15:58:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 15:58:40 +0300 |
commit | fcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (patch) | |
tree | 8807aea6f2afce38b30ce60aa5ebf84a26992b73 /plugins/AssocMgr | |
parent | af2958f2e82cb68392983da6f7f69fa3cd0c5276 (diff) |
PBYTE -> uint8_t*
Diffstat (limited to 'plugins/AssocMgr')
-rw-r--r-- | plugins/AssocMgr/src/reg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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);
|