From b1fd27eb2d4ad9aa4ae50167ce10ae920e7857fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delanoy?= Date: Tue, 31 Dec 2013 03:00:45 +0100 Subject: [PATCH] version/tests: Constify some character strings. --- dlls/version/tests/info.c | 2 +- dlls/version/tests/install.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/version/tests/info.c b/dlls/version/tests/info.c index aa1982c5bd7e..e66c9ee38ebd 100644 --- a/dlls/version/tests/info.c +++ b/dlls/version/tests/info.c @@ -204,7 +204,7 @@ static void test_info(void) VS_FIXEDFILEINFO *pFixedVersionInfo; UINT uiLength; char VersionString[MAX_PATH]; - static CHAR backslash[] = "\\"; + static const char backslash[] = "\\"; DWORDLONG dwlVersion; hdl = 0x55555555; diff --git a/dlls/version/tests/install.c b/dlls/version/tests/install.c index 6faeabaae565..9b84dce492ce 100644 --- a/dlls/version/tests/install.c +++ b/dlls/version/tests/install.c @@ -34,9 +34,9 @@ static void test_find_file(void) char filename[MAX_PATH]; char outBuf[MAX_PATH]; char windir[MAX_PATH]; - static CHAR empty[] = "", - regedit[] = "regedit", - regedit_exe[] = "regedit.exe"; + static const char empty[] = "", + regedit[] = "regedit", + regedit_exe[] = "regedit.exe"; memset(appdir, 0, MAX_PATH); memset(windir, 0, MAX_PATH);