projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2062c6
)
Use size_t rather than int
author
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 1 Feb 2006 20:29:19 +0000
(20:29 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Wed, 1 Feb 2006 20:29:19 +0000
(20:29 +0000)
src/nmem.c
patch
|
blob
|
history
diff --git
a/src/nmem.c
b/src/nmem.c
index
1b4853e
..
e2b2aa9
100644
(file)
--- a/
src/nmem.c
+++ b/
src/nmem.c
@@
-2,7
+2,7
@@
* Copyright (C) 1995-2005, Index Data ApS
* See the file LICENSE for details.
*
- * $Id: nmem.c,v 1.20 2005-09-09 10:32:09 adam Exp $
+ * $Id: nmem.c,v 1.21 2006-02-01 20:29:19 adam Exp $
*/
/**
@@
-234,7
+234,7
@@
static nmem_block *get_block(size_t size)
}
else
{
- int get = NMEM_CHUNK;
+ size_t get = NMEM_CHUNK;
if (get < size)
get = size;