winemac: Cast buffer to const WCHAR* in insert_clipboard_format.

Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Gijs Vermeulen 2020-06-01 11:31:53 -05:00 committed by Alexandre Julliard
parent 1216453225
commit 3c86adab76
1 changed files with 1 additions and 1 deletions

View File

@ -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);