You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/10/20 00:11:14 UTC

svn commit: r586627 - /apr/apr/trunk/test/sockperf.c

Author: wrowe
Date: Fri Oct 19 15:11:13 2007
New Revision: 586627

URL: http://svn.apache.org/viewvc?rev=586627&view=rev
Log:
Avoid a truncation emit, keep the math size_t big.

Modified:
    apr/apr/trunk/test/sockperf.c

Modified: apr/apr/trunk/test/sockperf.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/sockperf.c?rev=586627&r1=586626&r2=586627&view=diff
==============================================================================
--- apr/apr/trunk/test/sockperf.c (original)
+++ apr/apr/trunk/test/sockperf.c Fri Oct 19 15:11:13 2007
@@ -220,7 +220,7 @@
 
     for(i = 0; i < nTests; i++) {
         printf("Test -> %c\n", testRuns[i].c);
-        results[i].size = testRuns[i].size * TEST_SIZE;
+        results[i].size = testRuns[i].size * (apr_size_t)TEST_SIZE;
         rv = runTest(&testRuns[i], &results[i], pool);
     }