[BusyBox] uint64_t

Aaron Lehmann aaronl at vitelus.com
Tue Aug 21 22:18:55 UTC 2001


On Wed, Aug 22, 2001 at 08:17:25AM +0400, Vladimir N. Oleynik wrote:
> > But I think they meant typedef unsigned long long int, instead of
> > typedef unsigned long int.
> 
> value += ((uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
> 
> tv_usec - long. << 16 = 48 bits.

Right. that's why uint64_t should be a "long long", which is at least
64 bits.





More information about the busybox mailing list