mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
winetest: Constify a character string.
This commit is contained in:
parent
8d8a4c103a
commit
a2473d2985
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ static char * get_file_version(char * file_name)
|
|||
char * data = heap_alloc(size);
|
||||
if (data) {
|
||||
if (GetFileVersionInfoA(file_name, handle, size, data)) {
|
||||
static char backslash[] = "\\";
|
||||
static const char backslash[] = "\\";
|
||||
VS_FIXEDFILEINFO *pFixedVersionInfo;
|
||||
UINT len;
|
||||
if (VerQueryValueA(data, backslash, (LPVOID *)&pFixedVersionInfo, &len)) {
|
||||
|
|
Loading…
Reference in a new issue