From d5a7c67de0f8caaf7bbd2da51e6c4fd02d2216ca Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 10 Jun 2009 09:42:05 +0200 Subject: [PATCH] Fix warning (make string constant) --- zlint/test-search-01.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zlint/test-search-01.cpp b/zlint/test-search-01.cpp index 85e9ab6..88467aa 100644 --- a/zlint/test-search-01.cpp +++ b/zlint/test-search-01.cpp @@ -143,7 +143,7 @@ Zlint_code Zlint_test_search_01::sendTest(Zlint *z) { z->msg_check_for("sort %s", try_sort[m_sort_no]); - char *setstring = "default"; + const char *setstring = "default"; int len; Z_SortRequest *sr = apdu->u.sortRequest; -- 1.7.10.4