diff options
author | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-05-26 15:07:37 +0000 |
---|---|---|
committer | parsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2006-05-26 15:07:37 +0000 |
commit | 9d99fd7941269beaff3346f7dad9dfc6d024bcd5 (patch) | |
tree | fb4db92f0327da3cd54c4f9e952ecc4febd3469c /performance-tests | |
parent | ece2a00a0beb70bd0142347f7bc03d8dcf3e761d (diff) | |
download | ATCD-9d99fd7941269beaff3346f7dad9dfc6d024bcd5.tar.gz |
ChangeLogTag: Fri May 26 15:04:55 UTC 2006 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'performance-tests')
-rw-r--r-- | performance-tests/SCTP/hist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/performance-tests/SCTP/hist.cpp b/performance-tests/SCTP/hist.cpp index 9986275fbae..286264b276a 100644 --- a/performance-tests/SCTP/hist.cpp +++ b/performance-tests/SCTP/hist.cpp @@ -294,12 +294,12 @@ void add_histogram(HIST dest, HIST source) { set_variance(dest, get_variance(source)); } -double histfloor(double x) { +double histfloor (double x) { #ifdef WIN32 return floor(x); #else - return((long long)x); + return static_cast<double> (static_cast<long long> (x))); #endif } |