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:20:27 UTC

svn commit: r1294287 - /subversion/trunk/subversion/libsvn_subr/skel.c

Author: hwright
Date: Mon Feb 27 19:20:27 2012
New Revision: 1294287

URL: http://svn.apache.org/viewvc?rev=1294287&view=rev
Log:
More bitness fixes in the skel code

* subversion/libsvn_subr/skel.c
  (putsize): Return a apr_size_t.
  (unparse): Store the returned value as an apr_size_t.

Modified:
    subversion/trunk/subversion/libsvn_subr/skel.c

Modified: subversion/trunk/subversion/libsvn_subr/skel.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/skel.c?rev=1294287&r1=1294286&r2=1294287&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/skel.c (original)
+++ subversion/trunk/subversion/libsvn_subr/skel.c Mon Feb 27 19:20:27 2012
@@ -138,7 +138,7 @@ getsize(const char *data, apr_size_t len
 /* Store the ASCII decimal representation of VALUE at DATA.  Return
    the length of the representation if all goes well; return zero if
    the result doesn't fit in LEN bytes.  */
-static int
+static apr_size_t
 putsize(char *data, apr_size_t len, apr_size_t value)
 {
   apr_size_t i = 0;
@@ -492,7 +492,7 @@ unparse(const svn_skel_t *skel, svn_stri
         {
           /* Append the length to STR.  */
           char buf[200];
-          int length_len;
+          apr_size_t length_len;
 
           length_len = putsize(buf, sizeof(buf), skel->len);