dmsynth: Use the ARRAY_SIZE() macro.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
oldstable
Michael Stefaniuc 2018-10-23 19:42:33 +02:00 committed by Alexandre Julliard
parent b49cab9a17
commit eb2e0d9fbe
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ const char *debugstr_dmguid (const GUID *id) {
if (!id) return "(null)";
for (i = 0; i < sizeof(guids)/sizeof(guids[0]); i++) {
for (i = 0; i < ARRAY_SIZE(guids); i++) {
if (IsEqualGUID(id, guids[i].guid))
return guids[i].name;
}