subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1569659 - /subversion/trunk/subversion/libsvn_subr/checksum.c
Date Wed, 19 Feb 2014 08:07:02 GMT
Author: breser
Date: Wed Feb 19 08:07:02 2014
New Revision: 1569659

URL: http://svn.apache.org/r1569659
Log:
Fix a compiler warning.  No functional change.

* subversion/libsvn_subr/checksum.c
  (svn_checksum_parse_hex): Use apr_size_t instead of int to be consistent with
    size returned from DIGESTSIZE(), which is just a handy way of getting
    data from the digest_sizes array.

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

Modified: subversion/trunk/subversion/libsvn_subr/checksum.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/checksum.c?rev=1569659&r1=1569658&r2=1569659&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/checksum.c (original)
+++ subversion/trunk/subversion/libsvn_subr/checksum.c Wed Feb 19 08:07:02 2014
@@ -355,7 +355,7 @@ svn_checksum_parse_hex(svn_checksum_t **
                        const char *hex,
                        apr_pool_t *pool)
 {
-  int i, len;
+  apr_size_t i, len;
   char is_nonzero = '\0';
   char *digest;
   static const char xdigitval[256] =



Mime
View raw message