[3/3] time: Use 64 bit time on tzfile

Message ID 20221026190425.2939456-4-adhemerval.zanella@linaro.org
State New
Headers
Series Fixing missing 64 bit time_t usages |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Adhemerval Zanella Oct. 26, 2022, 7:04 p.m. UTC
  The tzfile_mtime is already compared to 64 bit time_t stat call.
---
 time/tzfile.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/time/tzfile.c b/time/tzfile.c
index dd75848ba9..394b098856 100644
--- a/time/tzfile.c
+++ b/time/tzfile.c
@@ -32,7 +32,7 @@ 
 int __use_tzfile;
 static dev_t tzfile_dev;
 static ino64_t tzfile_ino;
-static time_t tzfile_mtime;
+static __time64_t tzfile_mtime;
 
 struct ttinfo
   {