You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by da...@apache.org on 2014/02/25 02:05:10 UTC

svn commit: r1571506 - /subversion/trunk/subversion/libsvn_fs_x/low_level.c

Author: danielsh
Date: Tue Feb 25 01:05:09 2014
New Revision: 1571506

URL: http://svn.apache.org/r1571506
Log:
Fix integer conversion warnings.

* subversion/libsvn_fs_x/low_level.c
  (svn_fs_x__unparse_representation): Use the correct printf format.

Modified:
    subversion/trunk/subversion/libsvn_fs_x/low_level.c

Modified: subversion/trunk/subversion/libsvn_fs_x/low_level.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_x/low_level.c?rev=1571506&r1=1571505&r2=1571506&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_x/low_level.c (original)
+++ subversion/trunk/subversion/libsvn_fs_x/low_level.c Tue Feb 25 01:05:09 2014
@@ -563,14 +563,16 @@ svn_fs_x__unparse_representation(represe
 {
   if (!rep->has_sha1)
     return svn_stringbuf_createf
-            (pool, "%ld %" APR_INT64_T_FMT " %" SVN_FILESIZE_T_FMT
+            (pool,
+             "%" APR_INT64_T_FMT " %" APR_UINT64_T_FMT " %" SVN_FILESIZE_T_FMT
              " %" SVN_FILESIZE_T_FMT " %s",
              rep->id.change_set, rep->id.number, rep->size,
              rep->expanded_size,
              format_digest(rep->md5_digest, svn_checksum_md5, FALSE, pool));
 
   return svn_stringbuf_createf
-          (pool, "%ld %" APR_INT64_T_FMT " %" SVN_FILESIZE_T_FMT
+          (pool,
+           "%" APR_INT64_T_FMT " %" APR_UINT64_T_FMT " %" SVN_FILESIZE_T_FMT
            " %" SVN_FILESIZE_T_FMT " %s %s",
            rep->id.change_set, rep->id.number, rep->size,
            rep->expanded_size,