[PATCH] Bionic lacks transparent LFS migrations; provide a workaround
Cathey, Jim
jcathey at ciena.com
Tue Apr 28 23:32:25 UTC 2015
>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
More information about the busybox
mailing list