winealsa.drv: Fixed buffer to RegEnumKeyExW.

This commit is contained in:
Marcus Meissner 2012-04-09 23:52:37 +02:00 committed by Alexandre Julliard
parent 1d49c66929
commit 272535b948
1 changed files with 1 additions and 1 deletions

View File

@ -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;