Le 07/03/2016 13:59, Jean-Marc Lasgouttes a écrit :
Le 07/03/2016 13:21, Alex Vergara Gil a écrit :
Best way for this is to use native int as integer variables and you
forget about it, this works even on windows, so instead of int use
long and thats it: http://en.cppreference.com/w/cpp/language/types

In this case one would want a 64 bit type, and long is 32bits in win64.

So we would need an horrible static_cast<ptrdiff_t>().

JMarc

Reply via email to