Frédéric Delanoy : scrrun: Constify a character string.
Module: wine Branch: master Commit: a0a1a5fca54fecc64501356dfdef1f7ff207fb01 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a0a1a5fca54fecc64501356dfd... Author: Frédéric Delanoy <frederic.delanoy(a)gmail.com> Date: Tue Dec 17 22:17:41 2013 +0100 scrrun: Constify a character string. --- dlls/scrrun/filesystem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/scrrun/filesystem.c b/dlls/scrrun/filesystem.c index 0d360d3..0236492 100644 --- a/dlls/scrrun/filesystem.c +++ b/dlls/scrrun/filesystem.c @@ -1822,7 +1822,7 @@ static HRESULT WINAPI filesys_GetStandardStream(IFileSystem3 *iface, static void get_versionstring(VS_FIXEDFILEINFO *info, WCHAR *ver) { - static WCHAR fmtW[] = {'%','d','.','%','d','.','%','d','.','%','d',0}; + static const WCHAR fmtW[] = {'%','d','.','%','d','.','%','d','.','%','d',0}; DWORDLONG version; WORD a, b, c, d;
participants (1)
-
Alexandre Julliard