dmsynth: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b49cab9a17
commit
eb2e0d9fbe
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue