subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1522983 - /subversion/trunk/subversion/tests/libsvn_subr/string-test.c
Date Fri, 13 Sep 2013 15:33:16 GMT
Author: ivan
Date: Fri Sep 13 15:33:16 2013
New Revision: 1522983

URL: http://svn.apache.org/r1522983
Log:
Fix compiler warning.

* subversion/tests/libsvn_subr/string-test.c
  (test_string_similarity): Use correct data type.

Modified:
    subversion/trunk/subversion/tests/libsvn_subr/string-test.c

Modified: subversion/trunk/subversion/tests/libsvn_subr/string-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/string-test.c?rev=1522983&r1=1522982&r2=1522983&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/string-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/string-test.c Fri Sep 13 15:33:16 2013
@@ -656,7 +656,7 @@ test_string_similarity(apr_pool_t *pool)
     const char *stra;
     const char *strb;
     apr_size_t lcs;
-    int score;
+    unsigned int score;
   } tests[] =
       {
 #define SCORE(lcs, len) ((2000 * (lcs) + (len)/2) / (len))



Mime
View raw message