diff options
author | Karel Zak | 2011-08-01 12:01:04 +0200 |
---|---|---|
committer | Karel Zak | 2011-08-01 12:01:29 +0200 |
commit | b28f22673d10e24d0797c6631999617c4a467875 (patch) | |
tree | 1111f5bc7685d0e556de408231769f5fb2654089 /lib/strutils.c | |
parent | lib: [sysfs.c] fix compiler warnings [-Wsign-compare] (diff) | |
download | kernel-qcow2-util-linux-b28f22673d10e24d0797c6631999617c4a467875.tar.gz kernel-qcow2-util-linux-b28f22673d10e24d0797c6631999617c4a467875.tar.xz kernel-qcow2-util-linux-b28f22673d10e24d0797c6631999617c4a467875.zip |
lib: [strutils.c] fix compiler warnings [-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'lib/strutils.c')
-rw-r--r-- | lib/strutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |