Module: wine Branch: master Commit: 2cd8eb39896cb7c0a4d82d0252f627761a08bbf1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=2cd8eb39896cb7c0a4d82d0252...
Author: Hermès Bélusca-Maïto hermes.belusca@sfr.fr Date: Tue Jun 13 11:51:15 2017 +0200
advapi32/tests: Fix build with MSVC.
Signed-off-by: Thomas Faber thomas.faber@reactos.org Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/advapi32/tests/eventlog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/advapi32/tests/eventlog.c b/dlls/advapi32/tests/eventlog.c index 838454e..8c78dcf 100644 --- a/dlls/advapi32/tests/eventlog.c +++ b/dlls/advapi32/tests/eventlog.c @@ -1209,7 +1209,7 @@ static void test_start_trace(void) ret = StartTraceA(&handle, sessionname, properties); todo_wine ok(ret == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", ret); - properties->Wnode.Guid = (GUID){0}; + memset(&properties->Wnode.Guid, 0, sizeof(properties->Wnode.Guid));
properties->LogFileNameOffset = 0; ret = StartTraceA(&handle, sessionname, properties);