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:
Michael Stefaniuc 2018-05-29 01:05:28 +02:00 committed by Alexandre Julliard
parent 589a577416
commit 8bbba3fc70
1 changed files with 1 additions and 1 deletions

View File

@ -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);