Commit a2473d29 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

winetest: Constify a character string.

parent 8d8a4c10
...@@ -121,7 +121,7 @@ static char * get_file_version(char * file_name) ...@@ -121,7 +121,7 @@ static char * get_file_version(char * file_name)
char * data = heap_alloc(size); char * data = heap_alloc(size);
if (data) { if (data) {
if (GetFileVersionInfoA(file_name, handle, size, data)) { if (GetFileVersionInfoA(file_name, handle, size, data)) {
static char backslash[] = "\\"; static const char backslash[] = "\\";
VS_FIXEDFILEINFO *pFixedVersionInfo; VS_FIXEDFILEINFO *pFixedVersionInfo;
UINT len; UINT len;
if (VerQueryValueA(data, backslash, (LPVOID *)&pFixedVersionInfo, &len)) { if (VerQueryValueA(data, backslash, (LPVOID *)&pFixedVersionInfo, &len)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment