Make check fails in dlls/ddraw/tests/d3d, because a heap allocate is
fed to wrong size. (sizeof(BOOLEAN) is 1 , but ative_lights is a DWORD
array).
diff --git a/dlls/ddraw/device_opengl.c b/dlls/ddraw/device_opengl.c
index 43e1a6d..7aa8de6 100644
--- a/dlls/ddraw/device_opengl.c
+++ b/dlls/ddraw/device_opengl.c
@@ -4094,7 +4094,7 @@
object->max_active_lights = opengl_device_caps.dwMaxActiveLights;
object->light_parameters = NULL;
object->active_lights = HeapAlloc(GetProcessHeap(), 0,
- object->max_active_lights * sizeof(BOOLEAN));
+ object->max_active_lights * sizeof(object->active_lights[0]));
/* Fill the active light array with ~0, which is used to indicate an
invalid light index. We don't use 0, because it's a valid light index. */
for (light=0; light < object->max_active_lights; light++)