On Wed, 22 Apr 2026 10:13:49 -0600, Todd C. Miller wrote:

> Your analysis is correct.  The result of the bitwise AND is unsigned
> so we need to cast back to time_t before the cast to double.
>
> With this change I get the expected result from your test
> program:
>
>     sizeof(time_t)=8
>     difftime(0, -86400) = 86400

I committed the fix.

 - todd

Reply via email to