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:
a97174e
)
Use size_t for nmem block sizes internally
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 3 Jun 2005 20:33:13 +0000
(20:33 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 3 Jun 2005 20:33:13 +0000
(20:33 +0000)
src/nmem.c
patch
|
blob
|
history
diff --git
a/src/nmem.c
b/src/nmem.c
index
123d284
..
f1fcb1a
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.16 2005-06-03 20:30:30 adam Exp $
+ * $Id: nmem.c,v 1.17 2005-06-03 20:33:13 adam Exp $
*/
/**
@@
-46,8
+46,8
@@
struct nmem_block
{
char *buf; /* memory allocated in this block */
- int size; /* size of buf */
- int top; /* top of buffer */
+ size_t size; /* size of buf */
+ size_t top; /* top of buffer */
struct nmem_block *next;
};