X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=zlint%2Ftest-search-01.cpp;h=88467aa464e808f2696cded5eb178d68a067255b;hp=1240586624ee1aebb7e33a375e8df96620981833;hb=d5a7c67de0f8caaf7bbd2da51e6c4fd02d2216ca;hpb=4b3585940162cf9ca65ca4a6914c0addcde50eef diff --git a/zlint/test-search-01.cpp b/zlint/test-search-01.cpp index 1240586..88467aa 100644 --- a/zlint/test-search-01.cpp +++ b/zlint/test-search-01.cpp @@ -1,5 +1,5 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2008 Index Data and Mike Taylor + * Copyright (C) 1998-2009 Index Data and Mike Taylor * See the file LICENSE for details. */ @@ -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; @@ -278,6 +278,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