https://git.reactos.org/?p=reactos.git;a=commitdiff;h=f243e096242f5ef75e7effca34c879a0aa3a49a9

commit f243e096242f5ef75e7effca34c879a0aa3a49a9
Author:     winesync <[email protected]>
AuthorDate: Fri Sep 11 14:34:32 2020 +0200
Commit:     Jérôme Gardou <[email protected]>
CommitDate: Wed Sep 16 10:35:36 2020 +0200

    [WINESYNC] dbghelp: Turn variable 'code' into a static constant.
    
    Signed-off-by: Alex Henrie <[email protected]>
    Signed-off-by: Alexandre Julliard <[email protected]>
    
    wine commit id f333c4a210e25bbb8af2adeeae0dbe006354519b by Alex Henrie 
<[email protected]>
---
 dll/win32/dbghelp/minidump.c   | 2 +-
 sdk/tools/winesync/dbghelp.cfg | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dll/win32/dbghelp/minidump.c b/dll/win32/dbghelp/minidump.c
index 1a5dca9de67..975bb45c9a4 100644
--- a/dll/win32/dbghelp/minidump.c
+++ b/dll/win32/dbghelp/minidump.c
@@ -670,7 +670,7 @@ static  unsigned        dump_system_info(struct 
dump_context* dc)
     /* write Wine specific system information just behind the structure, and 
before any string */
     if (wine_extra)
     {
-        char code[] = {'W','I','N','E'};
+        static const char code[] = {'W','I','N','E'};
 
         WriteFile(dc->hFile, code, 4, &written, NULL);
         /* number of sub-info, so that we can extend structure if needed */
diff --git a/sdk/tools/winesync/dbghelp.cfg b/sdk/tools/winesync/dbghelp.cfg
index 32a81e26bee..7db4de0cbb1 100644
--- a/sdk/tools/winesync/dbghelp.cfg
+++ b/sdk/tools/winesync/dbghelp.cfg
@@ -3,4 +3,4 @@ directories:
 files:
   include/dbghelp.h: sdk/include/psdk/dbghelp.h
 tags:
-  wine: 86805c3d4b78e69e675e72f57a21254d3d580ddd
+  wine: f333c4a210e25bbb8af2adeeae0dbe006354519b

Reply via email to