X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fnmem.c;h=f1fcb1ae5bace1280474d1ee601f0f0182b339df;hb=b853eb3de1a249859eef71c9a285172a199656ce;hp=123d284719f73050389c287cc9e9ddb2f097e14e;hpb=a97174e3c213916ba968c8922ec69e9101badb2d;p=yaz-moved-to-github.git diff --git a/src/nmem.c b/src/nmem.c index 123d284..f1fcb1a 100644 --- 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; };