From 9c7a49382b382c7143ad34e672b0834d21972406 Mon Sep 17 00:00:00 2001 From: RK Date: Wed, 11 Dec 2024 13:50:57 +0530 Subject: [PATCH] Update tests/pass-dep/libc/libc-time.rs Co-authored-by: Ralf Jung --- tests/pass-dep/libc/libc-time.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/pass-dep/libc/libc-time.rs b/tests/pass-dep/libc/libc-time.rs index 3182b6d3e9..b679d1924d 100644 --- a/tests/pass-dep/libc/libc-time.rs +++ b/tests/pass-dep/libc/libc-time.rs @@ -148,7 +148,7 @@ fn test_localtime_r_pst() { target_os = "android" ))] { - assert_eq!(tm.tm_gmtoff, -25200); // -7 hours in seconds + assert_eq!(tm.tm_gmtoff, -7 * 3600); // -7 hours in seconds unsafe { assert_eq!(std::ffi::CStr::from_ptr(tm.tm_zone).to_str().unwrap(), "-07"); }