Alex Henrie : msdmo: Fix size of DMOGetName's array argument (GCC).
Module: wine Branch: master Commit: 11f47ac74ba01cfd074c26232dae99cbb81a839c URL: https://source.winehq.org/git/wine.git/?a=commit;h=11f47ac74ba01cfd074c26232... Author: Alex Henrie <alexhenrie24(a)gmail.com> Date: Mon Aug 2 22:13:37 2021 -0600 msdmo: Fix size of DMOGetName's array argument (GCC). Signed-off-by: Alex Henrie <alexhenrie24(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/msdmo/dmoreg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msdmo/dmoreg.c b/dlls/msdmo/dmoreg.c index 33caa6d0dc5..d5c76c8273f 100644 --- a/dlls/msdmo/dmoreg.c +++ b/dlls/msdmo/dmoreg.c @@ -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;
participants (1)
-
Alexandre Julliard