summaryrefslogtreecommitdiffstats
path: root/Utilities/cmtar/libtar.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmtar/libtar.h')
-rw-r--r--Utilities/cmtar/libtar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/cmtar/libtar.h b/Utilities/cmtar/libtar.h
index fb87e5b..1eba002 100644
--- a/Utilities/cmtar/libtar.h
+++ b/Utilities/cmtar/libtar.h
@@ -199,9 +199,9 @@ void th_set_user(TAR *t, uid_t uid);
void th_set_group(TAR *t, gid_t gid);
void th_set_mode(TAR *t, mode_t fmode);
#define th_set_mtime(t, fmtime) \
- int_to_oct_nonull((fmtime), (t)->th_buf.mtime, 12)
+ int_to_oct_nonull((int)(fmtime), (t)->th_buf.mtime, 12)
#define th_set_size(t, fsize) \
- int_to_oct_nonull((fsize), (t)->th_buf.size, 12)
+ int_to_oct_nonull((int)(fsize), (t)->th_buf.size, 12)
/* encode everything at once (except the pathname and linkname) */
void th_set_from_stat(TAR *t, struct stat *s);