summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src/events.cpp')
-rw-r--r--plugins/StopSpamPlus/src/events.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/StopSpamPlus/src/events.cpp b/plugins/StopSpamPlus/src/events.cpp
index e6f948f2ef..b13bd5c0af 100644
--- a/plugins/StopSpamPlus/src/events.cpp
+++ b/plugins/StopSpamPlus/src/events.cpp
@@ -78,12 +78,12 @@ int OnDbEventFilterAdd(WPARAM w, LPARAM l)
tstring message;
if (dbei->flags & DBEF_UTF) {
- WCHAR* msg_u = mir_utf8decodeW((char*)dbei->pBlob);
+ wchar_t* msg_u = mir_utf8decodeW((char*)dbei->pBlob);
message = msg_u;
mir_free(msg_u);
}
else {
- WCHAR* msg_u = mir_a2u((char*)(dbei->pBlob));
+ wchar_t* msg_u = mir_a2u((char*)(dbei->pBlob));
message = msg_u;
mir_free(msg_u);
}