Skip to content

Commit

Permalink
version/tests: Constify some character strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
fdela authored and julliard committed Dec 31, 2013
1 parent 5e94a5d commit b1fd27e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dlls/version/tests/info.c
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions dlls/version/tests/install.c
Expand Up @@ -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);
Expand Down

0 comments on commit b1fd27e

Please sign in to comment.