summaryrefslogtreecommitdiff
path: root/archival/chksum_and_xwrite_tar_header.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/chksum_and_xwrite_tar_header.c')
-rw-r--r--archival/chksum_and_xwrite_tar_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/chksum_and_xwrite_tar_header.c b/archival/chksum_and_xwrite_tar_header.c
index 25934f8..f2d46b9 100644
--- a/archival/chksum_and_xwrite_tar_header.c
+++ b/archival/chksum_and_xwrite_tar_header.c
@@ -15,7 +15,7 @@ void FAST_FUNC chksum_and_xwrite_tar_header(int fd, struct tar_header_t *hp)
* (Sun and HP-UX gets it wrong... more details in
* GNU tar source) */
const unsigned char *cp;
- int chksum, size;
+ unsigned int chksum, size;
strcpy(hp->magic, "ustar ");