Mailinglist Archive: opensuse-packaging (135 mails)
| < Previous | Next > |
Re: [opensuse-packaging] Re: Procinfo and Procinfo-NG
- From: Jan Engelhardt <jengelh@xxxxxxxxxxxxxxx>
- Date: Thu, 30 Aug 2007 20:39:07 +0200 (CEST)
- Message-id: <Pine.LNX.4.64.0708302038390.24730@xxxxxxxxxxxxxxxxxxxxxxxxx>
On Aug 30 2007 18:32, Philipp Thomas wrote:
>* 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.
Ah ok, if the macro expands to %z or %j, very well, but that was not obvious
from the macro.
Jan
--
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx
| < Previous | Next > |