setupapi: Constify a character string.

This commit is contained in:
Frédéric Delanoy 2013-12-17 22:17:42 +01:00 committed by Alexandre Julliard
parent 62da5f2604
commit 7102459c60
1 changed files with 1 additions and 1 deletions

View File

@ -1545,7 +1545,7 @@ BOOL WINAPI SetupGetInfFileListA(PCSTR dir, DWORD style, PSTR buffer,
BOOL WINAPI SetupGetInfFileListW(PCWSTR dir, DWORD style, PWSTR buffer,
DWORD insize, PDWORD outsize)
{
static WCHAR inf[] = {'\\','*','.','i','n','f',0 };
static const WCHAR inf[] = {'\\','*','.','i','n','f',0 };
WCHAR *filter, *fullname = NULL, *ptr = buffer;
DWORD dir_len, name_len = 20, size ;
WIN32_FIND_DATAW finddata;