diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-11-11 12:16:59 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2016-11-11 12:22:03 +0200 |
commit | 21c1c295925e50b13eccd9a66ffefdcc63dfb86d (patch) | |
tree | 85b2738818e0ae6ed742837d38e54d83ebd4ca68 | |
parent | 00f928642f7f7f1e7154a47df9cbf37ae70402ea (diff) | |
download | tar-21c1c295925e50b13eccd9a66ffefdcc63dfb86d.tar.gz |
Minor fix
* src/tar.h (tar_stat_info): Change type of real_size_set to bool
-rw-r--r-- | src/tar.h | 2 | ||||
-rw-r--r-- | src/xheader.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -328,7 +328,7 @@ struct tar_stat_info struct sp_array *sparse_map; off_t real_size; /* The real size of sparse file */ - int real_size_set; /* True when GNU.sparse.realsize is set in + bool real_size_set; /* True when GNU.sparse.realsize is set in archived file */ bool sparse_name_done; /* Set to true if 'GNU.sparse.name' header was diff --git a/src/xheader.c b/src/xheader.c index 335ddaf5..66a3a2f0 100644 --- a/src/xheader.c +++ b/src/xheader.c @@ -1389,7 +1389,7 @@ sparse_size_decoder (struct tar_stat_info *st, uintmax_t u; if (decode_num (&u, arg, TYPE_MAXIMUM (off_t), keyword)) { - st->real_size_set = 1; + st->real_size_set = true; st->real_size = u; } } |