Andrew Talbot : version: Constify a variable.
Module: wine Branch: master Commit: 19daedffaf1abcce6e8b1ec689b0478c77b0501b URL: http://source.winehq.org/git/wine.git/?a=commit;h=19daedffaf1abcce6e8b1ec689... Author: Andrew Talbot <Andrew.Talbot(a)talbotville.com> Date: Thu Feb 22 21:48:14 2007 +0000 version: Constify a variable. --- dlls/version/install.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/version/install.c b/dlls/version/install.c index c341f83..2f70b10 100644 --- a/dlls/version/install.c +++ b/dlls/version/install.c @@ -453,8 +453,8 @@ DWORD WINAPI VerInstallFileA( if (buf1) { buf2 = _fetch_versioninfo(tmpfn,&tmpvffi); if (buf2) { - char *tbuf1,*tbuf2; - static CHAR trans_array[] = "\\VarFileInfo\\Translation"; + char *tbuf1,*tbuf2; + static const CHAR trans_array[] = "\\VarFileInfo\\Translation"; UINT len1,len2; len1=len2=40;
participants (1)
-
Alexandre Julliard