diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-20 18:15:09 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-03-20 18:15:09 +0000 |
commit | 87585cbdd27e50a7e76454d38f18f2ad6f981165 (patch) | |
tree | 73f49f5e574afc0189fb8164ad8a88a023b981d2 | |
parent | 1dba8e0d05a4cf5e0f8a5241649133e9f9815224 (diff) | |
download | ATCD-87585cbdd27e50a7e76454d38f18f2ad6f981165.tar.gz |
cast nsamples to ACE_INT32 to avoid signed/unsigned comparison
-rw-r--r-- | performance-tests/UDP/udp_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/performance-tests/UDP/udp_test.cpp b/performance-tests/UDP/udp_test.cpp index 0458e8dfca0..49fa2b35196 100644 --- a/performance-tests/UDP/udp_test.cpp +++ b/performance-tests/UDP/udp_test.cpp @@ -305,7 +305,7 @@ Client::run (void) #if ! defined (ACE_LACKS_FLOATING_POINT) std_dev = std_err = 0; - for (i=0; i<nsamples; i++) + for (i = 0; i < (ACE_INT32) nsamples; i++) { std_dev += ((double)Samples[i] - sample_mean) * ((double)Samples[i] - sample_mean); |