Daiki Ueno wrote:
> >> +    unsigned long _sig_len;
> >
> > Could this have been solved with a cast?
> 
> Indeed, I was just worried about the case: sizeof(size_t) == 8 and
> sizeof(unsigned long) == 4 (i.e. on Windows 64),

Win64 means 64 bit system, so long should also be 64 bit, right?


> Is there any recommendation on size_t/ssize_t/unsigned long usage?

I always try to use what the system APIs use. libssh2 basically
doesn't right now, I don't know why, and I think it would be nice to
improve that if possible. Windows might cause some trouble by using
other types..


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

Reply via email to