From 4e4ebf48914fe22803d4e6891af13f1292456f2e Mon Sep 17 00:00:00 2001 From: Peter Moulder Date: Sun, 16 Sep 2007 12:28:27 +0000 Subject: trivial changes to address warning with g++-4.2 (bzr r3757) --- src/conditions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/conditions.cpp') diff --git a/src/conditions.cpp b/src/conditions.cpp index e5a1d47c9..936346f25 100644 --- a/src/conditions.cpp +++ b/src/conditions.cpp @@ -149,7 +149,7 @@ static std::vector splitByWhitespace(gchar const *value) { #define SVG10FEATURE "org.w3c." static bool evaluateSVG11Feature(gchar const *feature) { - static gchar *_supported_features[] = { + static gchar const *_supported_features[] = { "SVG", // incomplete "SVG-static" - missing support for "Filter" /* SVG - user agent supports at least one of the following: "SVG-static", "SVG-animation", "SVG-dynamic" or "SVGDOM" */ @@ -228,7 +228,7 @@ static bool evaluateSVG11Feature(gchar const *feature) { } static bool evaluateSVG10Feature(gchar const *feature) { - static gchar *_supported_features[] = { + static gchar const *_supported_features[] = { "svg.static", // incomplete - no filter effects "dom.svg.static", // not sure // "svg.animation", -- cgit v1.2.3