Hrvoje Niksic <[EMAIL PROTECTED]> writes:

> [EMAIL PROTECTED] (Steven M. Schweda) writes:
>
>> #define PTR_FORMAT(p) 2 * sizeof (void *), (unsigned long) (p)
>>
>> No bets, but you might try something like:
>>
>> #define PTR_FORMAT(p) ((int)(2 * sizeof (void *))), (unsigned long) (p)
>
> You are right; I'll make this change, thanks.

Interestingly, I already did, in the repository:

2005-06-27  Hrvoje Niksic  <[EMAIL PROTECTED]>

        * wget.h (PTR_FORMAT): Cast the result of sizeof to int before
        passing it to printf's %*.

Reply via email to