Oops! Believed the compiler when it said :
*In this statement, the referenced type of the pointer value
"session->userauth_host_packet" is "unsigned char", which is not compatible
with "char" because they differ by signed/unsigned attribute.
*Attached a new patch with casts to void *.
Jose
2010/4/4 Daniel Stenberg <daniel_at_haxx.se>
> On Fri, 2 Apr 2010, Jose Baars wrote:
>
> I got several compiler warnings when compiling userauth.c caused by
>> missing or incorrect casts.
>>
>> I have added a patch that solves these.
>>
>
> Thanks, but the iov_base field within the struct iovec is said to be a
> 'void *' in POSIX and in my linux headers, so why not typecast to that?
>
> --
>
> / daniel.haxx.se
>
> _______________________________________________
> libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
>
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel