>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


_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to