cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

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

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
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-12-29