NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: PR/58041 CVS commit: src/lib/libc/time



On Mon, Mar 18, 2024 at 04:20:02PM +0000, Taylor R Campbell wrote:
>  But it pacifies overzealous compilers used by downstream users of
>  this code.  And while it's silly to use a much wider type (64-bit
>  signed) than is needed here to store a single digit, it doesn't
>  really hurt either (32-bit unsigned is much larger than needed too).

As long as it is a type that has the same signedness as time_t, and can
hold 0-9, it's fine. :-)

o/
 emanuele6



Home | Main Index | Thread Index | Old Index