setupx.dll16: 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
2d735f076d
commit
f2c0d96bb7
|
@ -303,7 +303,7 @@ static void SETUPX_CreateStandardLDDs(void)
|
|||
|
||||
RegOpenKeyA(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup", &hKey);
|
||||
|
||||
for (n=0; n < sizeof(LDID_Data)/sizeof(LDID_DATA); n++)
|
||||
for (n=0; n < ARRAY_SIZE(LDID_Data); n++)
|
||||
{
|
||||
buffer[0] = '\0';
|
||||
|
||||
|
|
Loading…
Reference in New Issue