X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=zlint%2Ftest-search-01.cpp;h=e44fce4bfe7c6d2b3eddf4e6ebf431068998fd52;hb=6716ec7295c7361a205cb2dbcd5c8e3af64e8df6;hp=816a838649d1e0942de5bd3df46071f5c86cc376;hpb=d508100e993ab5c9a415bd1826b939875dcfe91c;p=yazpp-moved-to-github.git diff --git a/zlint/test-search-01.cpp b/zlint/test-search-01.cpp index 816a838..e44fce4 100644 --- a/zlint/test-search-01.cpp +++ b/zlint/test-search-01.cpp @@ -1,10 +1,11 @@ -/* - * Copyright (c) 2004-2007, Index Data. +/* This file is part of the yazpp toolkit. + * Copyright (C) 1998-2012 Index Data and Mike Taylor * See the file LICENSE for details. - * - * $Id: test-search-01.cpp,v 1.7 2007-04-12 15:00:33 adam Exp $ */ +#if HAVE_CONFIG_H +#include +#endif #include #include #include @@ -145,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; @@ -280,6 +281,7 @@ Zlint_code Zlint_test_search_01::recv_fail(Zlint *z, int reason) /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab