Torgeir Hansen <[EMAIL PROTECTED]> writes:

> Error compiling wget-1.7.1 on HP-UX10.20 with gcc version 3.0.1:
> ---
> snprintf.c:343: `short unsigned int' is promoted to `int' when passed
> through `...'
> snprintf.c:343: (so you should pass `int' not `short unsigned int' to
> `va_arg')
> snprintf.c:357: `short unsigned int' is promoted to `int' when passed
> through `...'
> *** Error exit code 1

Can someone comment on this?  First, I find it strange that HPUX
doesn't have snprintf.  Second, why doesn't va_arg just do the
necessary promotion?

Reply via email to