"Albert D. Cahalan" writes:
> The C language is crufty. In the absense of a prototype, "short" is
> promoted to "int". You wanted to be warned about that; you got it!
>
> To avoid the warning, avoid passing anything but "int" and "double".
> Maybe "long" is OK too, I forget.
I'm not sure which C language you're talking about here, but
I'll assume it's C89. In that language, in the absence of a
prototype, (and in K&R C), `int', `long', `double' and pointer
types are not promoted; but signed or unsigned `char', `short',
and `int' bit-fields are promoted; `float' is promoted.
--
Greg Black <[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message