From e96132b4d5344d2d58d247906bcaefccfb9d5253 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 20 Dec 2023 13:34:45 +0300 Subject: DBEVENTINFO::hContact to be returned inside an event, no need to call db_event_getContact() just after db_event_get() --- plugins/WinterSpeak/src/EventInformation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/WinterSpeak/src') diff --git a/plugins/WinterSpeak/src/EventInformation.cpp b/plugins/WinterSpeak/src/EventInformation.cpp index becb758c95..749ca4ae5c 100644 --- a/plugins/WinterSpeak/src/EventInformation.cpp +++ b/plugins/WinterSpeak/src/EventInformation.cpp @@ -38,7 +38,7 @@ bool EventInformation::isValidEvent(MEVENT event) { return false; } - m_event_info.pBlob = new unsigned char[m_event_info.cbBlob]; + m_event_info.pBlob = new char[m_event_info.cbBlob]; // get the event info db_event_get(event, &m_event_info); -- cgit v1.2.3