Sebastian Lackner : d3d9/tests: Fix compile error with gcc 4.9.
Module: wine Branch: master Commit: cf9c3fed1886ccc04784d708e0f1b839d1f9debf URL: http://source.winehq.org/git/wine.git/?a=commit;h=cf9c3fed1886ccc04784d708e0... Author: Sebastian Lackner <sebastian(a)fds-team.de> Date: Fri Apr 24 17:03:19 2015 +0200 d3d9/tests: Fix compile error with gcc 4.9. --- dlls/d3d9/tests/visual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/d3d9/tests/visual.c b/dlls/d3d9/tests/visual.c index 08362e1..14b80d5 100644 --- a/dlls/d3d9/tests/visual.c +++ b/dlls/d3d9/tests/visual.c @@ -540,7 +540,7 @@ done: static void test_specular_lighting(void) { static const unsigned int vertices_side = 5; - static const unsigned int indices_count = (vertices_side - 1) * (vertices_side - 1) * 2 * 3; + const unsigned int indices_count = (vertices_side - 1) * (vertices_side - 1) * 2 * 3; static const DWORD fvf = D3DFVF_XYZ | D3DFVF_NORMAL; static const D3DMATRIX mat = {{{
participants (1)
-
Alexandre Julliard