Commit 11f47ac7 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

msdmo: Fix size of DMOGetName's array argument (GCC).

parent 671cf16f
......@@ -279,7 +279,7 @@ lend:
*
* Get DMO Name from the registry
*/
HRESULT WINAPI DMOGetName(REFCLSID clsidDMO, WCHAR name[])
HRESULT WINAPI DMOGetName(REFCLSID clsidDMO, WCHAR name[80])
{
static const INT max_name_len = 80*sizeof(WCHAR);
DWORD count = max_name_len;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment