X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fyaz-z-cache.cpp;h=ed1c51a881465d2b10f7599ca2a1f76a64bc89a1;hb=bed85d2160500f57db63f4ab9d5533e0225cce15;hp=0bc13e16862f62d7ef2e99da560913fbddefdaee;hpb=d53e0ff85ad63de947da013a0d25a434d12eed40;p=yazpp-moved-to-github.git diff --git a/src/yaz-z-cache.cpp b/src/yaz-z-cache.cpp index 0bc13e1..ed1c51a 100644 --- a/src/yaz-z-cache.cpp +++ b/src/yaz-z-cache.cpp @@ -1,8 +1,11 @@ /* This file is part of the yazpp toolkit. - * Copyright (C) 1998-2010 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 @@ -31,7 +34,7 @@ RecordCache::~RecordCache () nmem_destroy(m_mem); } -void RecordCache::set_max_size(int sz) +void RecordCache::set_max_size(size_t sz) { m_max_size = sz; }