strlen() returns size_t (unsigned long on OS X for instance) but it's being 
passed directly to unsigned int parameters in some places so warnings are 
generated about the implicit precision loss.

For example in the define for libssh2_channel_exec. Pretty much everywhere 
strlen() is used in the header I think. They just need to be explicitly 
typecasted to (unsigned int).

--
Seth Willits




_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel

Reply via email to