summaryrefslogtreecommitdiff
path: root/plugins/Nudge/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/Nudge/src
parentaf2958f2e82cb68392983da6f7f69fa3cd0c5276 (diff)
PBYTE -> uint8_t*
Diffstat (limited to 'plugins/Nudge/src')
-rw-r--r--plugins/Nudge/src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Nudge/src/main.cpp b/plugins/Nudge/src/main.cpp
index 1112a21959..d9957a0fff 100644
--- a/plugins/Nudge/src/main.cpp
+++ b/plugins/Nudge/src/main.cpp
@@ -291,7 +291,7 @@ void Nudge_SentStatus(CNudgeElement *n, MCONTACT hContact)
dbei.timestamp = (DWORD)time(0);
dbei.eventType = 1;
dbei.cbBlob = (DWORD)mir_strlen(buff) + 1;
- dbei.pBlob = (PBYTE)buff;
+ dbei.pBlob = (uint8_t*)buff;
db_event_add(hContact, &dbei);
}
@@ -305,7 +305,7 @@ void Nudge_ShowStatus(CNudgeElement *n, MCONTACT hContact, DWORD timestamp)
dbei.flags = DBEF_UTF;
dbei.timestamp = timestamp;
dbei.cbBlob = (DWORD)mir_strlen(buff) + 1;
- dbei.pBlob = (PBYTE)buff;
+ dbei.pBlob = (uint8_t*)buff;
db_event_add(hContact, &dbei);
}