Nikolay Sivov : shlwapi: Fix initializer causing compiler warning.

Alexandre Julliard julliard at wine.codeweavers.com
Sat Jan 9 03:32:18 CST 2016


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Jan  7 17:09:47 2016 +0300

shlwapi: Fix initializer causing compiler warning.

Spotted by Józef.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/shlwapi/stopwatch.c b/dlls/shlwapi/stopwatch.c
index c7b4356..fcee075 100644
--- a/dlls/shlwapi/stopwatch.c
+++ b/dlls/shlwapi/stopwatch.c
@@ -190,7 +190,7 @@ void WINAPI StopWatch_MarkJavaStop(LPCWSTR lpszEvent, HWND hWnd, DWORD dwReserve
  */
 DWORD WINAPI GetPerfTime(void)
 {
-  static LARGE_INTEGER iCounterFreq = { 0 };
+  static LARGE_INTEGER iCounterFreq = { {0} };
   LARGE_INTEGER iCounter;
 
   TRACE("()\n");




More information about the wine-cvs mailing list