diff --git a/dlls/setupx.dll16/setupx_main.c b/dlls/setupx.dll16/setupx_main.c index db15cfe6674..9245ead9c59 100644 --- a/dlls/setupx.dll16/setupx_main.c +++ b/dlls/setupx.dll16/setupx_main.c @@ -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';