On Wed, 29 Dec 2010, Pierre Joye wrote:

I would say SSIZE_T, always on Windows. Both int or __int64 can be wrong.

I don't disagree that SSIZE_T might be the right answer, but I do have two questions about that:

A) what header(s) would we need to include to be sure SSIZE_T is typedef'ed and will those headers be the same on all known Windows compilers?

B) in which case is both int and __int64 wrong for ssize_t ?

--

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

Reply via email to