Fix warning (make string constant)
authorAdam Dickmeiss <adam@indexdata.dk>
Wed, 10 Jun 2009 07:42:05 +0000 (09:42 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Wed, 10 Jun 2009 07:42:05 +0000 (09:42 +0200)
zlint/test-search-01.cpp

index 85e9ab6..88467aa 100644 (file)
@@ -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;