On 04.11.2012 12:37, Blair Zajac wrote: > On Nov 4, 2012, at 2:14 AM, stef...@apache.org wrote: > >> Author: stefan2 >> Date: Sun Nov 4 10:14:56 2012 >> New Revision: 1405517 >> >> URL: http://svn.apache.org/viewvc?rev=1405517&view=rev >> Log: >> Silence integer size conversion warnings in JavaHL under Win64 by casting >> the values explicitly. We assume that argument counts and property sizes >> are all well below the 2G limit. > Hi Stefan, > > Since you're in C++ here you could switch to using static_cast<> or > reinterpret_cast<> instead, that would be better for self documentation, > although that doesn't seem to be the style in the code.
static_cast. *not* reinterpret_cast, which we should never need in high-level code. -- Brane