winetest: Constify a character string.

This commit is contained in:
Frédéric Delanoy 2013-12-19 22:25:13 +01:00 committed by Alexandre Julliard
parent 8d8a4c103a
commit a2473d2985
1 changed files with 1 additions and 1 deletions

View File

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