[PATCH] plugplay: Use wide-char string literals.
Michael Stefaniuc
mstefani at winehq.org
Sun Oct 11 17:02:49 CDT 2020
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
Annoyingly the string in SERVICE_TABLE_ENTRYW is not const.
Inlining the string would produce a warning. Same for the other patches.
programs/plugplay/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/plugplay/main.c b/programs/plugplay/main.c
index 8e007048422..2c4054de3e4 100644
--- a/programs/plugplay/main.c
+++ b/programs/plugplay/main.c
@@ -26,7 +26,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(plugplay);
-static WCHAR plugplayW[] = {'P','l','u','g','P','l','a','y',0};
+static WCHAR plugplayW[] = L"PlugPlay";
static SERVICE_STATUS_HANDLE service_handle;
static HANDLE stop_event;
--
2.26.2
More information about the wine-devel
mailing list