Explicitly cast seconds to NSTimeInterval in TimeIntervalFromSecondsAndNanos.
This was causing an error in our Github tests (https://github.com/protocolbuffers/protobuf/actions/runs/23308413575/job/67788944664) after Github upgraded its Macos 14 runner images. This likely seems to be due to the upgrade to Clang/LLVM, though the release notes claim the error was actually made *weaker* in 15.0.1 https://reviews.llvm.org/D133800. Seems like https://github.com/actions/runner-images/issues/13827 is likely mistakenly causing this to surface, but this is an error in Clang16 so we should probably fix it anyways. PiperOrigin-RevId: 886846312
S
Sandy Zhang committed
28f94045e6f9a1b0e61b9b3ee2b3fa491cec4e35
Parent: 7f7b974
Committed by Copybara-Service <copybara-worker@google.com>
on 3/20/2026, 5:01:03 PM