Mailinglist Archive: opensuse-packaging (135 mails)
| < Previous | Next > |
[opensuse-packaging] Re: Procinfo and Procinfo-NG
- From: Philipp Thomas <pth@xxxxxxx>
- Date: Thu, 30 Aug 2007 18:32:23 +0200
- Message-id: <20070830163223.GR8857@xxxxxxxxxxxxxxxx>
* Jan Engelhardt (jengelh@xxxxxxxxxxxxxxx) [20070823 09:36]:
> Bwäh. printf("%llu", (unsigned long long)var); is much more readable
> and does not provide any surprises.
It isn't more readable and it certainly doesn't provide surprises as stdint.h
and inttype.h are ISO C99. Using the widest available type and then doing
casts is IMNSHO much uglier.
Philipp
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
> Bwäh. printf("%llu", (unsigned long long)var); is much more readable
> and does not provide any surprises.
It isn't more readable and it certainly doesn't provide surprises as stdint.h
and inttype.h are ISO C99. Using the widest available type and then doing
casts is IMNSHO much uglier.
Philipp
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |