svn commit: r1925644 - in /apr/apr/branches/1.7.x: ./ test/sockperf.c
| Newsgroups | gmane.comp.apache.apr.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: ivan
Date: Sat May 17 15:21:48 2025
New Revision: 1925644
URL: http://svn.apache.org/viewvc?rev=1925644&view=rev
Log:
Merge r1902157 from apr/trunk:
Fix compiler warning.
Modified:
apr/apr/branches/1.7.x/ (props changed)
apr/apr/branches/1.7.x/test/sockperf.c
Propchange: apr/apr/branches/1.7.x/
------------------------------------------------------------------------------
Merged /apr/apr/trunk:r1902157
Modified: apr/apr/branches/1.7.x/test/sockperf.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.7.x/test/sockperf.c?rev=1925644&r1=1925643&r2=1925644&view=diff
==============================================================================
--- apr/apr/branches/1.7.x/test/sockperf.c (original)
+++ apr/apr/branches/1.7.x/test/sockperf.c Sat May 17 15:21:48 2025
@@ -49,7 +49,7 @@ struct testSet {
};
struct testResult {
- int size;
+ apr_size_t size;
int iters;
apr_time_t msecs[MAX_ITERS];
apr_time_t avg;
@@ -241,7 +241,7 @@ int main(int argc, char **argv)
for (i = 0; i < nTests; i++) {
int j;
apr_time_t totTime = 0;
- printf("%10d byte block:\n", results[i].size);
+ printf("%" APR_SIZE_T_FMT " byte block:\n", results[i].size);
printf("\t%2d iterations : ", results[i].iters);
for (j = 0; j < results[i].iters; j++) {
printf("%6" APR_TIME_T_FMT, results[i].msecs[j]);