mirror of
https://github.com/reactos/wine.git
synced 2025-02-16 10:59:45 +00:00
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…
x
Reference in New Issue
Block a user