winspool.drv/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
589a577416
commit
8bbba3fc70
|
@ -219,7 +219,7 @@ static struct monitor_entry * find_installed_monitor(void)
|
|||
|
||||
if (entry) return entry;
|
||||
|
||||
num_tests = (sizeof(monitor_table)/sizeof(struct monitor_entry));
|
||||
num_tests = ARRAY_SIZE(monitor_table);
|
||||
|
||||
/* cleanup */
|
||||
DeleteMonitorA(NULL, env_x64, winetest);
|
||||
|
|
Loading…
Reference in New Issue