widl: Constify a character string

Frédéric Delanoy frederic.delanoy at gmail.com
Thu Dec 19 15:25:14 CST 2013


---
 tools/widl/widl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
1.8.5




More information about the wine-patches mailing list