diff options
| author | Tim Kientzle <kientzle@FreeBSD.org> | 2004-07-25 18:50:24 +0000 |
|---|---|---|
| committer | Tim Kientzle <kientzle@FreeBSD.org> | 2004-07-25 18:50:24 +0000 |
| commit | 3dd77a04e5e99390c3d8cf10da294610fd3ba0dc (patch) | |
| tree | 9f11835892cf937bacd323681b6c50df27356ff6 /lib/libarchive/archive_write_set_format_pax.c | |
| parent | d2069767f59d4dcfdc401758bb47a2fc564485d6 (diff) | |
Notes
Diffstat (limited to 'lib/libarchive/archive_write_set_format_pax.c')
| -rw-r--r-- | lib/libarchive/archive_write_set_format_pax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/archive_write_set_format_pax.c b/lib/libarchive/archive_write_set_format_pax.c index 937113a545448..cc4b82e6b1051 100644 --- a/lib/libarchive/archive_write_set_format_pax.c +++ b/lib/libarchive/archive_write_set_format_pax.c @@ -409,7 +409,7 @@ archive_write_pax_header(struct archive *a, } /* If file size is too large, add 'size' to pax extended attrs. */ - if (st_main->st_size >= (1 << 30)) { + if (st_main->st_size >= (((int64_t)1) << 33)) { add_pax_attr_int(&(pax->pax_header), "size", st_main->st_size); need_extension = 1; } |
