From: Adam Dickmeiss Date: Fri, 7 Jul 2006 08:36:36 +0000 (+0000) Subject: Changed two vars to be of type size_t rather than int X-Git-Tag: YAZ.2.1.26~31 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=02ac5c5808e74192c93eab3fb97f833419c7ed2b;p=yaz-moved-to-github.git Changed two vars to be of type size_t rather than int --- diff --git a/src/nfa.c b/src/nfa.c index d00d41a..6046b3d 100644 --- a/src/nfa.c +++ b/src/nfa.c @@ -1,7 +1,7 @@ /* Copyright (C) 2006, Index Data ApS * See the file LICENSE for details. * - * $Id: nfa.c,v 1.10 2006-07-04 12:59:56 heikki Exp $ + * $Id: nfa.c,v 1.11 2006-07-07 08:36:36 adam Exp $ */ /** @@ -444,7 +444,7 @@ yaz_nfa_converter *yaz_nfa_create_string_converter ( yaz_nfa_char *string, size_t length){ yaz_nfa_converter *c; - int i; + size_t i; c=create_null_converter(n); c->type=conv_string; c->string=nmem_malloc(n->nmem, length*sizeof(yaz_nfa_char)); @@ -596,7 +596,7 @@ int yaz_nfa_add_ascii_string_rule( yaz_nfa *n, nmem_malloc(n->nmem, from_len*sizeof(yaz_nfa_char)); yaz_nfa_char *to_buf= nmem_malloc(n->nmem, to_len*sizeof(yaz_nfa_char)); - int i; + size_t i; for (i=0;i