Commit 272535b9 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winealsa.drv: Fixed buffer to RegEnumKeyExW.

parent 1d49c669
......@@ -710,7 +710,7 @@ static BOOL get_alsa_name_by_guid(GUID *guid, char *name, DWORD name_size, EData
DWORD size, type;
GUID reg_guid;
key_name_size = sizeof(key_name);
key_name_size = sizeof(key_name)/sizeof(WCHAR);
if(RegEnumKeyExW(devices_key, i, key_name, &key_name_size, NULL,
NULL, NULL, NULL) != ERROR_SUCCESS)
break;
......
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