summaryrefslogtreecommitdiff
path: root/plugins/YARelay/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YARelay/src/main.cpp')
-rw-r--r--plugins/YARelay/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YARelay/src/main.cpp b/plugins/YARelay/src/main.cpp
index 472f3e17d8..75ead98cc7 100644
--- a/plugins/YARelay/src/main.cpp
+++ b/plugins/YARelay/src/main.cpp
@@ -69,7 +69,7 @@ int ProtoAck(WPARAM,LPARAM lparam)
dbei.flags = DBEF_SENT | DBEF_UTF;
dbei.eventType = EVENTTYPE_MESSAGE;
dbei.cbBlob = (uint32_t)mir_strlen(p->msgText) + 1;
- dbei.pBlob = (uint8_t*)p->msgText;
+ dbei.pBlob = p->msgText;
db_event_add(hForwardTo, &dbei);
}