From b28f22673d10e24d0797c6631999617c4a467875 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 1 Aug 2011 12:01:04 +0200 Subject: lib: [strutils.c] fix compiler warnings [-Wsign-compare] Signed-off-by: Karel Zak --- lib/strutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/strutils.c') diff --git a/lib/strutils.c b/lib/strutils.c index 31a487228..da395e447 100644 --- a/lib/strutils.c +++ b/lib/strutils.c @@ -360,7 +360,7 @@ int string_to_idarray(const char *list, int ary[], size_t arysz, int (name2id)(const char *, size_t)) { const char *begin = NULL, *p; - int n = 0; + size_t n = 0; if (!list || !*list || !ary || !arysz || !name2id) return -1; -- cgit v1.2.3-55-g7522