subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bre...@apache.org
Subject svn commit: r1616634 - /subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c
Date Thu, 07 Aug 2014 23:45:09 GMT
Author: breser
Date: Thu Aug  7 23:45:09 2014
New Revision: 1616634

URL: http://svn.apache.org/r1616634
Log:
Fix compiler warning caused by using wrong type.

* subversion/libsvn_subr/x509parse.c
  (is_hostname): Use apr_size_t for the iterator since svn_string_t's len
    is an apr_size_t.

Modified:
    subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c

Modified: subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c
URL: http://svn.apache.org/viewvc/subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c?rev=1616634&r1=1616633&r2=1616634&view=diff
==============================================================================
--- subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c (original)
+++ subversion/branches/svn-auth-x509/subversion/libsvn_subr/x509parse.c Thu Aug  7 23:45:09
2014
@@ -934,7 +934,7 @@ x509parse_dn_gets(svn_stringbuf_t *buf, 
 static svn_boolean_t
 is_hostname(const svn_string_t *str)
 {
-  int i;
+  apr_size_t i;
 
   for (i = 0; i < str->len; i++)
     {



Mime
View raw message