subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1326617 - /subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c
Date Mon, 16 Apr 2012 13:48:55 GMT
Author: stefan2
Date: Mon Apr 16 13:48:55 2012
New Revision: 1326617

URL: http://svn.apache.org/viewvc?rev=1326617&view=rev
Log:
* subversion/tests/libsvn_subr/named_atomic-test.c
  (calibrate_iterations): silence a precision loss warning

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

Modified: subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c?rev=1326617&r1=1326616&r2=1326617&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_subr/named_atomic-test.c Mon Apr 16 13:48:55
2012
@@ -267,7 +267,7 @@ calibrate_iterations(apr_pool_t *pool, i
       start = apr_time_now();
       SVN_ERR(run_procs(pool, TEST_PROC, count, calib_iterations));
 
-      taken = apr_time_now() - start;
+      taken = (double)(apr_time_now() - start);
     }
 
   /* scale that to 1s */



Mime
View raw message