Module: wine Branch: master Commit: 7215eb249794928b156856405b553db228bbb370 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7215eb249794928b156856405b...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Fri Jan 10 02:37:02 2014 +0100
kernel32/tests: Unconstify a character string.
---
dlls/kernel32/tests/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/profile.c b/dlls/kernel32/tests/profile.c index c6e0b61..ca3a07e 100644 --- a/dlls/kernel32/tests/profile.c +++ b/dlls/kernel32/tests/profile.c @@ -92,7 +92,7 @@ static void test_profile_int(void)
static void test_profile_string(void) { - static const WCHAR emptyW[] = { 0 }; + static WCHAR emptyW[] = { 0 }; /* if "const", GetPrivateProfileStringW(emptyW, ...) crashes on win2k */ static const WCHAR keyW[] = { 'k','e','y',0 }; static const WCHAR sW[] = { 's',0 }; static const WCHAR TESTFILE2W[] = {'.','\','t','e','s','t','w','i','n','e','2','.','i','n','i',0};