winetest: Constify a character string.
This commit is contained in:
parent
8d8a4c103a
commit
a2473d2985
|
@ -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 New Issue