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



The following reply was made to PR lib/58041; it has been noted by GNATS.

From: Emanuele Torre <torreemanuele6%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: riastradh%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost
Subject: Re: PR/58041 CVS commit: src/lib/libc/time
Date: Mon, 18 Mar 2024 17:27:43 +0100

 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