lib: [strutils.c] fix compiler warnings [-Wsign-compare]

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2011-08-01 12:01:04 +02:00
parent 6b9166ce06
commit b28f22673d
1 changed files with 1 additions and 1 deletions

View File

@ -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;