summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2007-10-19 22:11:13 +0000
committerWilliam A. Rowe Jr <wrowe@apache.org>2007-10-19 22:11:13 +0000
commit4ccd931aeda769018a49402ef6cb3f2b9b2b4731 (patch)
treea8ead5b25930e80261a6af04cb05c956e31d9658 /test
parent52ec5dd380a17b61f8e3c544236a8811c2c215e0 (diff)
downloadapr-4ccd931aeda769018a49402ef6cb3f2b9b2b4731.tar.gz
Avoid a truncation emit, keep the math size_t big.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@586627 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test')
-rw-r--r--test/sockperf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sockperf.c b/test/sockperf.c
index d157bd7e6..b42422332 100644
--- a/test/sockperf.c
+++ b/test/sockperf.c
@@ -220,7 +220,7 @@ int main(int argc, char **argv)
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);
}