From 3c86adab766e3bc7c91da088c2dd6bc41a917055 Mon Sep 17 00:00:00 2001 From: Gijs Vermeulen Date: Mon, 1 Jun 2020 11:31:53 -0500 Subject: [PATCH] winemac: Cast buffer to const WCHAR* in insert_clipboard_format. Signed-off-by: Gijs Vermeulen Signed-off-by: Ken Thomases Signed-off-by: Alexandre Julliard --- dlls/winemac.drv/clipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winemac.drv/clipboard.c b/dlls/winemac.drv/clipboard.c index 65fb3cc8ec4..9c009307051 100644 --- a/dlls/winemac.drv/clipboard.c +++ b/dlls/winemac.drv/clipboard.c @@ -288,7 +288,7 @@ static WINE_CLIPFORMAT *insert_clipboard_format(UINT id, CFStringRef type) } format->type = CFStringCreateWithFormat(NULL, NULL, CFSTR("%@%S"), - registered_name_type_prefix, buffer); + registered_name_type_prefix, (const WCHAR*)buffer); } list_add_tail(&format_list, &format->entry);