aboutsummaryrefslogtreecommitdiff
path: root/src/xz/args.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2015-03-07 19:54:00 +0200
committerLasse Collin <lasse.collin@tukaani.org>2015-03-07 19:54:00 +0200
commit7f0a4c50f4a374c40acf4b86848f301ad1e82d34 (patch)
tree5bb8bba9e03535afc26b85d430e6a0fd142b3d83 /src/xz/args.h
parentliblzma: Fix a warning in index.c. (diff)
downloadxz-7f0a4c50f4a374c40acf4b86848f301ad1e82d34.tar.xz
xz: Make arg_count an unsigned int to silence a warning.
Actually the value of arg_count cannot exceed INT_MAX but it's nicer as an unsigned int.
Diffstat (limited to 'src/xz/args.h')
-rw-r--r--src/xz/args.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/args.h b/src/xz/args.h
index 1defad12..46a8e8ed 100644
--- a/src/xz/args.h
+++ b/src/xz/args.h
@@ -15,7 +15,7 @@ typedef struct {
char **arg_names;
/// Number of filenames from command line
- size_t arg_count;
+ unsigned int arg_count;
/// Name of the file from which to read filenames. This is NULL
/// if --files or --files0 was not used.