From 128935b55e7b10766e8c2a31a4cfa18aa2ee831f Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 12 Dec 2020 12:51:01 +0100 Subject: [PATCH] Use LPCSTR in RegisterWindowMessageA --- src/core/windows7thumbbar.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/windows7thumbbar.cpp b/src/core/windows7thumbbar.cpp index 7cd52dcf0..9c1ece094 100644 --- a/src/core/windows7thumbbar.cpp +++ b/src/core/windows7thumbbar.cpp @@ -124,7 +124,7 @@ void Windows7ThumbBar::HandleWinEvent(MSG *msg) { if (button_created_message_id_ == 0) { // Compute the value for the TaskbarButtonCreated message - button_created_message_id_ = RegisterWindowMessage("TaskbarButtonCreated"); + button_created_message_id_ = RegisterWindowMessageA(LPCSTR("TaskbarButtonCreated")); qLog(Debug) << "TaskbarButtonCreated message ID registered" << button_created_message_id_; }