From: Adam Dickmeiss Date: Wed, 10 Jun 2009 08:25:49 +0000 (+0200) Subject: Fix GCC warning abt deprecated conv from string constant X-Git-Tag: v1.0.16~1 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=5e98bad8991d8c9cf6122dbb62dc172dd2dc3bd1;p=metaproxy-moved-to-github.git Fix GCC warning abt deprecated conv from string constant --- diff --git a/src/filter_backend_test.cpp b/src/filter_backend_test.cpp index 3c0aeea..7881e57 100644 --- a/src/filter_backend_test.cpp +++ b/src/filter_backend_test.cpp @@ -232,7 +232,7 @@ void yf::BackendTest::process(Package &package) const Z_InitRequest *req = apdu_req->u.initRequest; Z_InitResponse *resp = apdu_res->u.initResponse; - resp->implementationName = "backend_test"; + resp->implementationName = odr_strdup(odr, "backend_test"); if (ODR_MASK_GET(req->options, Z_Options_namedResultSets)) m_p->m_support_named_result_sets = true;