Hal Murray <[email protected]> writes:

> [email protected] said:
>> The standard approach is:
>>   Use %d for int, %ld for long.
>>   Use PRI macros for other types. 
>
> I find the PRI stuff hard to read.  Maybe I just need more practice.  I'd 
> much rather cast the parameter to a long.

Makes sense, but properly to intmax_t and %j.

>> Very simple: "PPS and i386" is a typo for "ppc and i386".   This has
>> nothing to do with PPS. 
>
> Thanks.  Makes much more sense that way.
>
> So, other than printf, are there any serous problems?

The only other thing I'd expect is being careful about pointers and
integers, but I'd call it a feature to catch that.

Reply via email to