summaryrefslogtreecommitdiffstats
path: root/src/dom/work/testxpath.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/work/testxpath.cpp')
-rw-r--r--src/dom/work/testxpath.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dom/work/testxpath.cpp b/src/dom/work/testxpath.cpp
index 626176920..1014d4742 100644
--- a/src/dom/work/testxpath.cpp
+++ b/src/dom/work/testxpath.cpp
@@ -10,7 +10,7 @@
* Authors:
* Bob Jamison
*
- * Copyright (C) 2006 Bob Jamison
+ * Copyright (C) 2006-2008 Bob Jamison
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -54,9 +54,9 @@ typedef org::w3c::dom::xpath::XPathParser XPathParser;
typedef struct
{
- char *xpathStr;
- char *desc;
- char *xml;
+ const char *xpathStr;
+ const char *desc;
+ const char *xml;
} XpathTest;
XpathTest xpathTests[] =
@@ -1333,7 +1333,7 @@ NULL,
-bool doStringTest(char *str)
+bool doStringTest(const char *str)
{
XPathParser xp;
xp.setDebug(true);