[PATCH] Bionic lacks transparent LFS migrations; provide a workaround

Tanguy Pruvot tanguy.pruvot at gmail.com
Tue Apr 28 23:42:32 UTC 2015


I never had to print 128 or 256 bits ints on a screen/log
Le 29 avr. 2015 1:32 AM, "Cathey, Jim" <jcathey at ciena.com> a écrit :

> >For this case I generally cast the param to the biggest possible type.
> >printf("llu", (uint64_t) val);
>
> That's nearly as parochial as what you are changing from.  C doesn't
> have a printf-name to _size_ mapping.  What if my C compiler has a
> 128-bit scalar type, and _that_ is long-long?  The best thing you should
> do is use names, no sizes:
>
> printf("%llu", (unsigned long long) val);
>
> _That_ had better match!
>
> -- Jim
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20150429/459dc075/attachment.html>


More information about the busybox mailing list