Alex Henrie : msdmo: Fix size of DMOGetName's array argument (GCC).
Alexandre Julliard
julliard at winehq.org
Tue Aug 3 16:52:22 CDT 2021
Module: wine
Branch: master
Commit: 11f47ac74ba01cfd074c26232dae99cbb81a839c
URL: https://source.winehq.org/git/wine.git/?a=commit;h=11f47ac74ba01cfd074c26232dae99cbb81a839c
Author: Alex Henrie <alexhenrie24 at 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 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at 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;
More information about the wine-cvs
mailing list