=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: widl: Constify a character string.

Alexandre Julliard julliard at winehq.org
Fri Dec 20 10:45:30 CST 2013


Module: wine
Branch: master
Commit: 120dac41a1dea9b0929b9dddaa718953f46ceb82
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=120dac41a1dea9b0929b9dddaa718953f46ceb82

Author: Frédéric Delanoy <frederic.delanoy at gmail.com>
Date:   Thu Dec 19 22:25:14 2013 +0100

widl: Constify a character string.

---

 tools/widl/widl.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/widl/widl.c b/tools/widl/widl.c
index b37a0f8..b9e1412 100644
--- a/tools/widl/widl.c
+++ b/tools/widl/widl.c
@@ -400,7 +400,7 @@ void write_dlldata(const statement_list_t *stmts)
 
   dlldata = fopen(dlldata_name, "r");
   if (dlldata) {
-    static char marker[] = "REFERENCE_PROXY_FILE";
+    static const char marker[] = "REFERENCE_PROXY_FILE";
     static const char delegation_define[] = "#define PROXY_DELEGATION";
     char *line = NULL;
     size_t len = 0;




More information about the wine-cvs mailing list