subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1405528 - /subversion/trunk/subversion/libsvn_subr/dirent_uri.c
Date Sun, 04 Nov 2012 11:35:02 GMT
Author: stefan2
Date: Sun Nov  4 11:35:02 2012
New Revision: 1405528

URL: http://svn.apache.org/viewvc?rev=1405528&view=rev
Log:
Fix size and signedness conversion warnings.

* subversion/libsvn_subr/dirent_uri.c
  (svn_dirent_is_root): use integer types consistently

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

Modified: subversion/trunk/subversion/libsvn_subr/dirent_uri.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/dirent_uri.c?rev=1405528&r1=1405527&r2=1405528&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/dirent_uri.c (original)
+++ subversion/trunk/subversion/libsvn_subr/dirent_uri.c Sun Nov  4 11:35:02 2012
@@ -911,7 +911,7 @@ svn_dirent_is_root(const char *dirent, a
       && dirent[len - 1] != '/')
     {
       int segments = 0;
-      int i;
+      apr_size_t i;
       for (i = len; i >= 2; i--)
         {
           if (dirent[i] == '/')



Mime
View raw message