]> granicus.if.org Git - pdns/commitdiff
Avoid warning: ISO C++11 does not allow conversion from string literal to 'char ...
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 16 Feb 2015 09:29:11 +0000 (10:29 +0100)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Mon, 16 Feb 2015 09:29:11 +0000 (10:29 +0100)
pdns/test-bindparser_cc.cc

index e025a25ddf47528e5e3819f2a8586d83eae7e2ec..b3eb768a16387cf84a839fdc46d5abe29d75cf08 100644 (file)
@@ -15,7 +15,7 @@ using std::string;
 BOOST_AUTO_TEST_SUITE(bindparser_cc)
 
 BOOST_AUTO_TEST_CASE(test_parser) {
-        char *srcdir;
+        const char *srcdir;
         std::ostringstream pathbuf;
         BindParser BP;
         BOOST_CHECK_THROW( BP.parse("../regression-tests/named.confx"), PDNSException);