[PATCH 1/2] msdmo: Fix size of DMOGetName's array argument (GCC)
Alex Henrie
alexhenrie24 at gmail.com
Mon Aug 2 23:13:37 CDT 2021
Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
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;
--
2.32.0
More information about the wine-devel
mailing list