Francois Gouget : ddraw/tests: Fix compilation on systems that don' t support nameless union.

Alexandre Julliard julliard at wine.codeweavers.com
Mon May 4 07:58:53 CDT 2015


Module: wine
Branch: master
Commit: cb16c706026a79ad65032923f67e3245313a1c74
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cb16c706026a79ad65032923f67e3245313a1c74

Author: Francois Gouget <fgouget at free.fr>
Date:   Sat May  2 13:06:28 2015 +0200

ddraw/tests: Fix compilation on systems that don't support nameless union.

---

 dlls/ddraw/tests/ddraw7.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/ddraw/tests/ddraw7.c b/dlls/ddraw/tests/ddraw7.c
index e151fb7..b8691b8 100644
--- a/dlls/ddraw/tests/ddraw7.c
+++ b/dlls/ddraw/tests/ddraw7.c
@@ -3862,7 +3862,7 @@ static void test_specular_lighting(void)
     ok(SUCCEEDED(hr), "Failed to disable fog, hr %#x.\n", hr);
 
     memset(&material, 0, sizeof(material));
-    U(U2(material).specular).r = 1.0f;
+    U1(U2(material).specular).r = 1.0f;
     U2(U2(material).specular).g = 1.0f;
     U3(U2(material).specular).b = 1.0f;
     U4(U2(material).specular).a = 1.0f;




More information about the wine-cvs mailing list