projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Version 1.3.2
[yazpp-moved-to-github.git]
/
src
/
yaz-z-cache.cpp
diff --git
a/src/yaz-z-cache.cpp
b/src/yaz-z-cache.cpp
index
5277a0d
..
ed1c51a
100644
(file)
--- a/
src/yaz-z-cache.cpp
+++ b/
src/yaz-z-cache.cpp
@@
-1,8
+1,11
@@
/* This file is part of the yazpp toolkit.
/* 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.
*/
* See the file LICENSE for details.
*/
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <yaz/log.h>
#include <yaz/proto.h>
#include <yaz/copy_types.h>
#include <yaz/log.h>
#include <yaz/proto.h>
#include <yaz/copy_types.h>
@@
-31,7
+34,7
@@
RecordCache::~RecordCache ()
nmem_destroy(m_mem);
}
nmem_destroy(m_mem);
}
-void RecordCache::set_max_size(int sz)
+void RecordCache::set_max_size(size_t sz)
{
m_max_size = sz;
}
{
m_max_size = sz;
}