> davids> simple -- if you are going to call a function whose types you
> davids> don't know (through a prototype), you must cast each type you
> davids> pass to the type the function expects. End of story. OpenSSL
> davids> does not do this. This is not valid C whether or not the type
> davids> sizes are the same.

I don't think that's correct.  If you are calling a function where a 
prototype is not in scope, the 'classic' promotion rules are used (float 
to double, char or short to int, etc).

        /r$

--
STSM, Senior Security Architect
SOA Appliances
Application Integration Middleware

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to