You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2015/01/16 17:47:26 UTC
svn commit: r1652451 - /subversion/trunk/subversion/libsvn_fs_fs/index.c
Author: stefan2
Date: Fri Jan 16 16:47:26 2015
New Revision: 1652451
URL: http://svn.apache.org/r1652451
Log:
Follow-up to r1652076: Fix same problem for L2P as well.
* subversion/libsvn_fs_fs/index.c
(svn_fs_fs__l2p_index_append): Be sure to use 64 bit offsets for the
index data.
Modified:
subversion/trunk/subversion/libsvn_fs_fs/index.c
Modified: subversion/trunk/subversion/libsvn_fs_fs/index.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/index.c?rev=1652451&r1=1652450&r2=1652451&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/index.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/index.c Fri Jan 16 16:47:26 2015
@@ -836,8 +836,8 @@ svn_fs_fs__l2p_index_append(svn_checksum
/* 1 page with up to L2P_PAGE_SIZE entries.
* fsfs.conf settings validation guarantees this to fit into
* our address space. */
- apr_size_t last_buffer_size
- = (apr_size_t)svn_spillbuf__get_size(buffer);
+ apr_uint64_t last_buffer_size
+ = (apr_uint64_t)svn_spillbuf__get_size(buffer);
svn_pool_clear(iterpool);