From 5e98bad8991d8c9cf6122dbb62dc172dd2dc3bd1 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 10 Jun 2009 10:25:49 +0200 Subject: [PATCH] Fix GCC warning abt deprecated conv from string constant --- src/filter_backend_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.7.10.4