[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1405517 - in /subversion/trunk/subversion/bindings/javahl/native: CopySources.cpp CreateJ.cpp SVNClient.cpp StringArray.cpp Targets.cpp

From: Branko Čibej <brane_at_wandisco.com>
Date: Sun, 04 Nov 2012 15:40:35 +0100

On 04.11.2012 12:37, Blair Zajac wrote:
> On Nov 4, 2012, at 2:14 AM, stefan2_at_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
Received on 2012-11-04 15:41:23 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.