Author: philip
Date: Thu Aug 22 12:21:53 2013
New Revision: 1516429

URL: http://svn.apache.org/r1516429
Log:
* subversion/libsvn_fs_fs/fs_fs.c
  (parse_packed_revprops): Cast to avoid a mismatch between int size
   and format specifier.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c
URL: 
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c?rev=1516429&r1=1516428&r2=1516429&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/fs_fs.c Thu Aug 22 12:21:53 2013
@@ -3801,8 +3801,9 @@ parse_packed_revprops(svn_fs_t *fs,
     return svn_error_createf(SVN_ERR_FS_CORRUPT, NULL,
                              _("Revprop pack for revision r%ld"
                                " contains revprops for r%ld .. r%ld"),
-                             revprops->revision, first_rev,
-                             first_rev + count -1);
+                             revprops->revision,
+                             (svn_revnum_t)first_rev,
+                             (svn_revnum_t)(first_rev + count -1));
 
   /* Since start & end are in the same shard, it is enough to just test
    * the FIRST_REV for being actually packed.  That will also cover the
@@ -3811,7 +3812,7 @@ parse_packed_revprops(svn_fs_t *fs,
     return svn_error_createf(SVN_ERR_FS_CORRUPT, NULL,
                              _("Revprop pack for revision r%ld"
                                " starts at non-packed revisions r%ld"),
-                             revprops->revision, first_rev);
+                             revprops->revision, (svn_revnum_t)first_rev);
 
   /* make PACKED_REVPROPS point to the first char after the header.
    * This is where the serialized revprops are. */


Reply via email to