Module: wine Branch: master Commit: 07e7f40dc933291915345944e320e55ae0544f0a URL: http://source.winehq.org/git/wine.git/?a=commit;h=07e7f40dc933291915345944e3...
Author: Dmitry Timoshkov dmitry@baikal.ru Date: Mon Dec 30 18:17:08 2013 +0900
xmllite: Constify pointers in arrays that hold const data.
---
dlls/xmllite/reader.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/xmllite/reader.c b/dlls/xmllite/reader.c index cfd54d4..9fe48bd 100644 --- a/dlls/xmllite/reader.c +++ b/dlls/xmllite/reader.c @@ -102,7 +102,7 @@ static const WCHAR piW[] = {'<','?',0};
static const char *debugstr_nodetype(XmlNodeType nodetype) { - static const char* type_names[] = + static const char * const type_names[] = { "None", "Element", @@ -132,7 +132,7 @@ static const char *debugstr_nodetype(XmlNodeType nodetype)
static const char *debugstr_prop(XmlReaderProperty prop) { - static const char* prop_names[] = + static const char * const prop_names[] = { "MultiLanguage", "ConformanceLevel",