El El sáb, 4 jul 2026 a las 21:10, Paul Eggert via tz <tz@iana.org> escribió:
On 2026-07-04 10:38, Tom Lane wrote:
> I'm not really following your aversion to a cast.  Surely none
> of these constants will ever come close to exceeding INT_MAX.

Although a cast would be safe in this case, verifying that it's safe
requires too much thinking. I want a knowledgeable reader to be able to
look at just that line of code and trivially say "yeah, that's benign"
while muttering a few choice words about clueless compilers.

How about replacing "+" with "~~"? That is, something like the first
attached draft patch.

That requires much more thinking than (int) IMHO. 

Guillermo