summaryrefslogtreecommitdiff
path: root/plugins/MirOTR/src/dbfilter.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-12-26 16:39:04 +0300
commit62a186697df33c96dc1a6dac0f4dfc38652fb96f (patch)
tree1437d0906218fae8827aed384026f2b7e656f4ac /plugins/MirOTR/src/dbfilter.cpp
parentfcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (diff)
BYTE -> uint8_t
Diffstat (limited to 'plugins/MirOTR/src/dbfilter.cpp')
-rw-r--r--plugins/MirOTR/src/dbfilter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/MirOTR/src/dbfilter.cpp b/plugins/MirOTR/src/dbfilter.cpp
index 29b774dff9..1ef670ca47 100644
--- a/plugins/MirOTR/src/dbfilter.cpp
+++ b/plugins/MirOTR/src/dbfilter.cpp
@@ -97,7 +97,7 @@ int OnDatabaseEventPreAdd(WPARAM hContact, LPARAM lParam)
buf.Append(msg + msgLen + 1, datalen);
}
- my_dbei.pBlob = (BYTE*)buf.GetBuffer();
+ my_dbei.pBlob = (uint8_t*)buf.GetBuffer();
my_dbei.cbBlob = (int)buf.GetLength();
my_dbei.flags |= DBEF_OTR_PREFIXED;
db_event_add(hContact, &my_dbei);