From: Adam Dickmeiss Date: Wed, 1 Feb 2006 20:29:19 +0000 (+0000) Subject: Use size_t rather than int X-Git-Tag: YAZ.2.1.12~2 X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=1bbc43ce88a03e20f3ddf503ba27ef6703d91d9a;p=yaz-moved-to-github.git Use size_t rather than int --- diff --git a/src/nmem.c b/src/nmem.c index 1b4853e..e2b2aa9 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.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;