Subject: Re: libcurl + libssh2: strange error on Win64 (compiled using VS 2008)

Re: libcurl + libssh2: strange error on Win64 (compiled using VS 2008)

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 29 Dec 2010 18:56:34 +0100 (CET)

On Wed, 29 Dec 2010, S.Gopi wrote:

> * As I understand, the problem is libssh2 is returning a unsigned int (int)
> which libcurl typecasts in to __int64. Am I correct ? If yes, I expect the
> actual fix should be at libssh2, is that correct ? (I am CC'ing this to
> libssh2-devel list as well)

Yes, I'm convinced this problem exists in libssh2. The warnings Pierre showed
us prove that we have work to do before we're good on 64bit.

> * Also what is the guarantee that the same issue won't happen if I use
> mingw-w64 ? is it because ssize_t is declared correctly in mingw-w64 ?

It isn't. I'm on the contrary putting my money on that we have the same
problems with mingw-w64.

-- 
  / daniel.haxx.se
_______________________________________________
libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-devel
Received on 2010-12-29