version/tests: Constify some character strings.

This commit is contained in:
Frédéric Delanoy 2013-12-31 03:00:45 +01:00 committed by Alexandre Julliard
parent 5e94a5d4c9
commit b1fd27eb2d
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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);