diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/base/cp_annotate.hh | 2 | ||||
-rw-r--r-- | src/base/statistics.hh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/base/cp_annotate.hh b/src/base/cp_annotate.hh index 9ec39b6cb..13ced82de 100644 --- a/src/base/cp_annotate.hh +++ b/src/base/cp_annotate.hh @@ -53,7 +53,7 @@ class ThreadContext; #if !CP_ANNOTATE -class CPA : SimObject +class CPA { public: enum flags { diff --git a/src/base/statistics.hh b/src/base/statistics.hh index 6240be7a2..827c1d311 100644 --- a/src/base/statistics.hh +++ b/src/base/statistics.hh @@ -2495,7 +2495,7 @@ class VectorDistribution : public VectorDistBase<VectorDistribution, DistStor> params->min = min; params->max = max; params->bucket_size = bkt; - params->buckets = rint((max - min) / bkt + 1.0); + params->buckets = (size_type)rint((max - min) / bkt + 1.0); this->setParams(params); this->doInit(size); return this->self(); |