summaryrefslogtreecommitdiff
path: root/plugins/New_GPG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 15:58:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 15:58:40 +0300
commitfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (patch)
tree8807aea6f2afce38b30ce60aa5ebf84a26992b73 /plugins/New_GPG/src
parentaf2958f2e82cb68392983da6f7f69fa3cd0c5276 (diff)
PBYTE -> uint8_t*
Diffstat (limited to 'plugins/New_GPG/src')
-rwxr-xr-xplugins/New_GPG/src/messages.cpp2
-rwxr-xr-xplugins/New_GPG/src/utilities.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/New_GPG/src/messages.cpp b/plugins/New_GPG/src/messages.cpp
index cd7941691a..2d0ac82b36 100755
--- a/plugins/New_GPG/src/messages.cpp
+++ b/plugins/New_GPG/src/messages.cpp
@@ -761,7 +761,7 @@ int HookSendMsg(WPARAM w, LPARAM l)
//mir_free(dbei->pBlob);
str_event.insert(0, toUTF8(globals.wszOutopentag.c_str()));
str_event.append(toUTF8(globals.wszOutclosetag.c_str()));
- dbei->pBlob = (PBYTE)mir_strdup(str_event.c_str());
+ dbei->pBlob = (uint8_t*)mir_strdup(str_event.c_str());
dbei->cbBlob = (DWORD)str_event.length() + 1;
}
diff --git a/plugins/New_GPG/src/utilities.cpp b/plugins/New_GPG/src/utilities.cpp
index 08a7c0f319..4b39a37edd 100755
--- a/plugins/New_GPG/src/utilities.cpp
+++ b/plugins/New_GPG/src/utilities.cpp
@@ -476,7 +476,7 @@ void HistoryLog(MCONTACT hContact, const char *msg, DWORD _time, DWORD flags)
dbei.flags = DBEF_UTF | flags;
dbei.timestamp = (_time) ? _time : (DWORD)time(0);
dbei.cbBlob = (DWORD)mir_strlen(msg) + 1;
- dbei.pBlob = (PBYTE)msg;
+ dbei.pBlob = (uint8_t*)msg;
db_event_add(hContact, &dbei);
}