ntdll/tests: Constify a character string

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Dec 26 15:49:29 CST 2013


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

diff --git a/dlls/ntdll/tests/exception.c b/dlls/ntdll/tests/exception.c
index a97cf18..452fb3c 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 char single_ret[] = {0xC3};
     struct dpe_exception_info info;
     NTSTATUS stat;
     BOOL has_hw_support;
-- 
1.8.5.2




More information about the wine-patches mailing list