[libxslt] The XSLT namespace string is a constant one



commit 85c621da5afac3076c0de2e9aacec1252ad582ff
Author: Daniel Veillard <veillard redhat com>
Date:   Fri Sep 7 12:23:14 2012 +0800

    The XSLT namespace string is a constant one
    
    Raised by Phil Shafer <phil juniper net>

 libxslt/xslt.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libxslt/xslt.h b/libxslt/xslt.h
index 13a68be..532ae3c 100644
--- a/libxslt/xslt.h
+++ b/libxslt/xslt.h
@@ -43,7 +43,7 @@ extern "C" {
  *
  * The XSLT specification namespace.
  */
-#define XSLT_NAMESPACE ((xmlChar *) "http://www.w3.org/1999/XSL/Transform";)
+#define XSLT_NAMESPACE ((const xmlChar *)"http://www.w3.org/1999/XSL/Transform";)
 
 /**
  * XSLT_PARSE_OPTIONS:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]