From 9e53ad5fa700dbdf5d5c7ac518ff2458c5436da9 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 3 Jun 2005 20:33:13 +0000 Subject: [PATCH] Use size_t for nmem block sizes internally --- src/nmem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }; -- 1.7.10.4