Commit 5ea87a88 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

devenum: Fixed size to capGetDriverDescriptionW (Coverity).

CID 1439780 Signed-off-by: 's avatarMarcus Meissner <marcus@jet.franken.de> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 9a5c5835
......@@ -791,7 +791,7 @@ static void register_avicap_devices(void)
for (i = 0; i < 10; ++i)
{
if (!capGetDriverDescriptionW(i, name, sizeof(name), version, sizeof(version)))
if (!capGetDriverDescriptionW(i, name, ARRAY_SIZE(name), version, ARRAY_SIZE(version)))
break;
friendlyname[5] = '0' + i;
......
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