summaryrefslogtreecommitdiffstats
path: root/libidu/scanners.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-04-30 09:26:54 +0200
committerJim Meyering <meyering@redhat.com>2009-04-30 09:26:54 +0200
commit44a28161a43b8f75bc546e560cb3d08db0357cc1 (patch)
tree5077241be68dc6b143f9412fe06779313f85630c /libidu/scanners.c
parentee73b13b1459785a9a74044efcce9ce88ec33c3b (diff)
downloadidutils-44a28161a43b8f75bc546e560cb3d08db0357cc1.tar.gz
idutils-44a28161a43b8f75bc546e560cb3d08db0357cc1.tar.bz2
idutils-44a28161a43b8f75bc546e560cb3d08db0357cc1.zip
avoid a legitimate -Wstrict-overflow warning
* libidu/scanners.h (log_8_member_files): Change type from int to size_t. * libidu/scanners.c: Likewise.
Diffstat (limited to 'libidu/scanners.c')
-rw-r--r--libidu/scanners.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libidu/scanners.c b/libidu/scanners.c
index 42d1705..3cabfb3 100644
--- a/libidu/scanners.c
+++ b/libidu/scanners.c
@@ -40,7 +40,7 @@ static struct obstack lang_args_obstack;
struct lang_args *lang_args_default = 0;
struct lang_args *lang_args_list = 0;
struct obstack tokens_obstack;
-int log_8_member_files = 0;
+size_t log_8_member_files = 0;
extern void usage (void);
extern char *program_name;