summaryrefslogtreecommitdiffstats
path: root/src/dom/cssparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dom/cssparser.cpp')
-rw-r--r--src/dom/cssparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dom/cssparser.cpp b/src/dom/cssparser.cpp
index 83fd92909..422c02e49 100644
--- a/src/dom/cssparser.cpp
+++ b/src/dom/cssparser.cpp
@@ -131,7 +131,7 @@ XMLCh CssParser::get(int p)
* Test if the given substring exists at the given position
* in parsebuf. Use get() in case of out-of-bounds
*/
-bool CssParser::match(int pos, char *str)
+bool CssParser::match(int pos, const char *str)
{
while (*str)
{