qcap: 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:
Michael Stefaniuc 2018-08-08 11:30:12 +02:00 committed by Alexandre Julliard
parent 6627994c35
commit f26168e494
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ FactoryTemplate const g_Templates[] = {
} }
}; };
int g_cTemplates = sizeof(g_Templates) / sizeof(g_Templates[0]); const int g_cTemplates = ARRAY_SIZE(g_Templates);
/*********************************************************************** /***********************************************************************
* Dll EntryPoint (QCAP.@) * Dll EntryPoint (QCAP.@)