Thus spake David Schultz <[EMAIL PROTECTED]>:
> Right.  The complaint is that hlen is 64 bits and the printf()
> expects the field length specifier to be an int.  The same goes
> for getbsize(&hlen, ...), so I'm not sure why the compiler didn't
> complain about a type mismatch.  I guess it just coerced the
> pointer to an int *.

Aah, the compiler didn't complain because the getbsize() interface
was changed between -CURRENT and -STABLE, and it now takes a
'size_t *' instead of an 'int *' to fill in with the length of the
string.  (To me, this change seems absolutely ridiculous, because
the number in question is seldom greater than 10, much less 2^64.)

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to