X-Git-Url: http://git.indexdata.com/?p=yazpp-moved-to-github.git;a=blobdiff_plain;f=zlint%2Ftest-search-01.cpp;h=de0ebb8fe54550f5c82176b9def26aa68abfa920;hp=1240586624ee1aebb7e33a375e8df96620981833;hb=8353663886b90d762d43790780be6cb58fb93c8a;hpb=4b3585940162cf9ca65ca4a6914c0addcde50eef diff --git a/zlint/test-search-01.cpp b/zlint/test-search-01.cpp index 1240586..de0ebb8 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-2011 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