mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 23:11:47 +00:00
dpnet: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0a948c74c5
commit
be5517a348
|
@ -150,7 +150,7 @@ static const char *debugstr_SP(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 a new issue