fixup fix bad #if

This commit is contained in:
Daniel Stenberg 2025-08-01 16:13:28 +02:00
parent feaa0a5568
commit d537e9cfe7
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -572,7 +572,7 @@ static const char *outtime(const char *ptr, /* %time{ ... */
if(timestr) {
curl_off_t val;
curlx_str_number(&timestr, &val, TIME_T_MAX);
#ifdef SIZEOF_TIME_T < 5
#if SIZEOF_TIME_T < 5
cnow.tv_sec = (time_t)(val & 0xffffffff);
#else
cnow.tv_sec = (time_t)val;