]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Use `time_t` return for a `time_t` value 2991/head
authorTim Kientzle <kientzle@acm.org>
Sun, 3 May 2026 21:43:10 +0000 (14:43 -0700)
committerTim Kientzle <kientzle@acm.org>
Sun, 3 May 2026 21:43:10 +0000 (14:43 -0700)
libarchive/archive_read_support_format_tar.c

index ac5e6197712ef07b8529a245ce47c44f8f340532..a16f4c064776048e8d30a360f0d768b360c156fe 100644 (file)
@@ -253,7 +253,7 @@ static const int64_t entry_limit = 0xfffffffffffffffLL; /* 2^60 bytes = 1 ExbiBy
  * here.  TODO: Move this to configure time, but be careful
  * about cross-compile environments.
  */
-static int64_t
+static time_t
 get_time_t_max(void)
 {
 #if defined(TIME_T_MAX)