=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: version/tests: Constify some character strings.
Alexandre Julliard
julliard at winehq.org
Tue Dec 31 11:11:44 CST 2013
Module: wine
Branch: master
Commit: b1fd27eb2d4ad9aa4ae50167ce10ae920e7857fb
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b1fd27eb2d4ad9aa4ae50167ce10ae920e7857fb
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Tue Dec 31 03:00:45 2013 +0100
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 aa1982c..e66c9ee 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 6faeaba..9b84dce 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);
More information about the wine-cvs
mailing list