[PATCH] dmstyle/tests: Avoid a clang warning

Michael Stefaniuc mstefani at winehq.org
Mon Mar 5 18:07:27 CST 2018


Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
---
Alexandre missed this one ;)


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

diff --git a/dlls/dmstyle/tests/dmstyle.c b/dlls/dmstyle/tests/dmstyle.c
index a9a89a7a77..ed12315a19 100644
--- a/dlls/dmstyle/tests/dmstyle.c
+++ b/dlls/dmstyle/tests/dmstyle.c
@@ -356,13 +356,13 @@ struct chunk {
    followed by the chunks of the list and terminated with 0. */
 static IStream *gen_riff_stream(const FOURCC *ids)
 {
+    static const LARGE_INTEGER zero;
     int level = -1;
     DWORD *sizes[4];    /* Stack for the sizes of RIFF and LIST chunks */
     char riff[1024];
     char *p = riff;
     struct chunk *ck;
     IStream *stream;
-    LARGE_INTEGER zero = {0};
 
     do {
         ck = (struct chunk *)p;
-- 
2.14.3




More information about the wine-devel mailing list