X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=zlint%2Ftest-search-01.cpp;h=e44fce4bfe7c6d2b3eddf4e6ebf431068998fd52;hb=5dddeb732a1409f9787cbdb3ce993f73a47f2dcc;hp=85e9ab65bd116ce735c89768f67d39b475ca2593;hpb=6b22d0543d41bec8626f3ae7ac866bcab7de44bd;p=yazpp-moved-to-github.git diff --git a/zlint/test-search-01.cpp b/zlint/test-search-01.cpp index 85e9ab6..e44fce4 100644 --- a/zlint/test-search-01.cpp +++ b/zlint/test-search-01.cpp @@ -1,8 +1,11 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2009 Index Data and Mike Taylor + * Copyright (C) 1998-2012 Index Data and Mike Taylor * See the file LICENSE for details. */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -143,7 +146,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;