=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: setupapi: Constify a character string.
Alexandre Julliard
julliard at winehq.org
Wed Dec 18 14:27:47 CST 2013
Module: wine
Branch: master
Commit: 7102459c60be38e9aaf7501d0eca4134f48420d3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7102459c60be38e9aaf7501d0eca4134f48420d3
Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date: Tue Dec 17 22:17:42 2013 +0100
setupapi: Constify a character string.
---
dlls/setupapi/install.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/setupapi/install.c b/dlls/setupapi/install.c
index dda1396..a8d38aa 100644
--- a/dlls/setupapi/install.c
+++ b/dlls/setupapi/install.c
@@ -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;
More information about the wine-cvs
mailing list