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/05/31 16:46:45 UTC

svn commit: r1344755 - /subversion/trunk/subversion/tests/libsvn_delta/random-test.c

Author: hwright
Date: Thu May 31 14:46:44 2012
New Revision: 1344755

URL: http://svn.apache.org/viewvc?rev=1344755&view=rev
Log:
* subversion/tests/libsvn_delta/random-test.c
  (generate_random_file): Cast away an integer size mismatch warning.

Modified:
    subversion/trunk/subversion/tests/libsvn_delta/random-test.c

Modified: subversion/trunk/subversion/tests/libsvn_delta/random-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_delta/random-test.c?rev=1344755&r1=1344754&r2=1344755&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_delta/random-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_delta/random-test.c Thu May 31 14:46:44 2012
@@ -189,7 +189,7 @@ generate_random_file(apr_uint32_t maxlen
         {
           const int ch = (random_bytes
                           ? (unsigned)random_bytes[r % bytes_range]
-                          : r % bytes_range);
+                          : (int)(r % bytes_range));
           if (buf == end)
             {
               apr_size_t ignore_length;