[D3DCOMPILER_43] Sync with Wine Staging 3.17. CORE-15127
[reactos.git] / dll / directx / wine / d3dcompiler_43 / compiler.c
index cf75cd5..53d2a43 100644 (file)
@@ -570,7 +570,7 @@ static const struct target_info targets_info[] = {
 static const struct target_info * get_target_info(const char *target)
 {
     LONG min = 0;
-    LONG max = sizeof(targets_info) / sizeof(targets_info[0]) - 1;
+    LONG max = ARRAY_SIZE(targets_info) - 1;
     LONG cur;
     int res;