Commit f2c0d96b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

setupx.dll16: Use the ARRAY_SIZE() macro.

parent 2d735f07
......@@ -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';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment