Module: wine Branch: master Commit: b5728948d5cc6645c48148251ee2c49c71a037e1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b5728948d5cc6645c48148251e... Author: Paul Vriens <Paul.Vriens(a)xs4all.nl> Date: Tue Oct 10 14:27:58 2006 +0200 shlwapi: Cast-qual warnings fix. --- dlls/shlwapi/tests/shreg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shlwapi/tests/shreg.c b/dlls/shlwapi/tests/shreg.c index cd4cbf6..ff921a3 100644 --- a/dlls/shlwapi/tests/shreg.c +++ b/dlls/shlwapi/tests/shreg.c @@ -39,8 +39,8 @@ static SHCopyKeyA_func pSHCopyKeyA; typedef DWORD (WINAPI *SHRegGetPathA_func)(HKEY,LPCSTR,LPCSTR,LPSTR,DWORD); static SHRegGetPathA_func pSHRegGetPathA; -static const char * sTestpath1 = "%LONGSYSTEMVAR%\\subdir1"; -static const char * sTestpath2 = "%FOO%\\subdir1"; +static char sTestpath1[] = "%LONGSYSTEMVAR%\\subdir1"; +static char sTestpath2[] = "%FOO%\\subdir1"; static const char * sEnvvar1 = "bar"; static const char * sEnvvar2 = "ImARatherLongButIndeedNeededString";