=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: ntdll/tests: Constify a character string.

Alexandre Julliard julliard at winehq.org
Fri Dec 27 13:31:10 CST 2013


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

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Thu Dec 26 22:49:29 2013 +0100

ntdll/tests: Constify a character string.

---

 dlls/ntdll/tests/exception.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index a97cf18..2ca1297 100644
--- a/dlls/ntdll/tests/exception.c
+++ b/dlls/ntdll/tests/exception.c
@@ -1057,7 +1057,7 @@ static DWORD dpe_exception_handler(EXCEPTION_RECORD *rec, EXCEPTION_REGISTRATION
 
 static void test_dpe_exceptions(void)
 {
-    static char single_ret[] = {0xC3};
+    static const BYTE single_ret[] = {0xC3};
     struct dpe_exception_info info;
     NTSTATUS stat;
     BOOL has_hw_support;




More information about the wine-cvs mailing list