diff options
Diffstat (limited to 'src/value.cc')
-rw-r--r-- | src/value.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/value.cc b/src/value.cc index 931c616..5afb650 100644 --- a/src/value.cc +++ b/src/value.cc @@ -625,13 +625,13 @@ void Value::RangeType::normalize() { } } -unsigned long Value::RangeType::nbsteps() const { +uint32_t Value::RangeType::nbsteps() const { if (begin_val == end_val) { return 0; } if (step_val == 0) { - return std::numeric_limits<unsigned long>::max(); + return std::numeric_limits<uint32_t>::max(); } double steps; |