You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2012/02/27 20:32:23 UTC
svn commit: r1294295 -
/subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c
Author: hwright
Date: Mon Feb 27 19:32:22 2012
New Revision: 1294295
URL: http://svn.apache.org/viewvc?rev=1294295&view=rev
Log:
* subversion/libsvn_repos/load-fs-vtable.c
(new_revision_record): If we're going to cast the result, let's cast the
*result*.
Modified:
subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c
Modified: subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c?rev=1294295&r1=1294294&r2=1294295&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c (original)
+++ subversion/trunk/subversion/libsvn_repos/load-fs-vtable.c Mon Feb 27 19:32:22 2012
@@ -487,7 +487,7 @@ new_revision_record(void **revision_bato
several separate operations. It is highly susceptible to race conditions.
Calculate the revision 'offset' for finding copyfrom sources.
It might be positive or negative. */
- rb->rev_offset = (apr_int32_t) (rb->rev) - (head_rev + 1);
+ rb->rev_offset = (apr_int32_t) ((rb->rev) - (head_rev + 1));
if ((rb->rev > 0) && (! rb->skipped))
{