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:
parent
6627994c35
commit
f26168e494
|
@ -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.@)
|
||||
|
|
Loading…
Reference in New Issue