Suppress a deprecation warning on time_t

Continue to pull cirrus builds back into the land of the living.
This commit is contained in:
Peter Ammon
2025-10-05 21:29:54 -07:00
parent b88622bc35
commit 30b1c9570f

View File

@@ -64,6 +64,7 @@ fn return_timezone_hour(tstamp: SystemTime, timezone: &wstr) -> libc::c_int {
let _var = vars.get(L!("TZ"));
#[allow(deprecated)]
let tstamp: libc::time_t = tstamp
.duration_since(UNIX_EPOCH)
.unwrap()