[PATCH] winegstreamer: Print the debug string and not the pointer to it

Nikolay Sivov nsivov at codeweavers.com
Fri Nov 5 10:37:03 CDT 2021



On 11/5/21 6:30 PM, Michael Stefaniuc wrote:
> @@ -1061,7 +1061,7 @@ static HRESULT WINAPI header_info_GetAttributeByIndexEx(IWMHeaderInfo3 *iface,
>          WORD stream_number, WORD index, WCHAR *name, WORD *name_len,
>          WMT_ATTR_DATATYPE *type, WORD *lang_index, BYTE *value, DWORD *size)
>  {
> -    FIXME("iface %p, stream_number %u, index %u, name %p, name_len %p,"
> +    FIXME("iface %p, stream_number %u, index %u, name %s, name_len %p,"
>              " type %p, lang_index %p, value %p, size %p, stub!\n",
>              iface, stream_number, index, debugstr_w(name), name_len, type, lang_index, value, size);
>      return E_NOTIMPL;
It's [out], so instead debugstr_w() should not be used.



More information about the wine-devel mailing list