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>
This commit is contained in:
parent
1216453225
commit
3c86adab76
|
@ -288,7 +288,7 @@ static WINE_CLIPFORMAT *insert_clipboard_format(UINT id, CFStringRef type)
|
||||||
}
|
}
|
||||||
|
|
||||||
format->type = CFStringCreateWithFormat(NULL, NULL, CFSTR("%@%S"),
|
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);
|
list_add_tail(&format_list, &format->entry);
|
||||||
|
|
Loading…
Reference in New Issue