diff options
author | Torsten Paul <Torsten.Paul@gmx.de> | 2013-11-15 18:41:37 (GMT) |
---|---|---|
committer | Torsten Paul <Torsten.Paul@gmx.de> | 2013-11-15 18:41:37 (GMT) |
commit | f46bd3788f75e691b65aaf0e4ffb1db1029ef717 (patch) | |
tree | 118843f04ff826255387e7886fe38573dbae7d8e /src/value.h | |
parent | 1fcad169e623d776eb297c324304fb6836ec1e62 (diff) |
Change nbsteps() to uint32_t to make it independent from 32/64-bit platform.
Diffstat (limited to 'src/value.h')
-rw-r--r-- | src/value.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/value.h b/src/value.h index 4671cdc..8197806 100644 --- a/src/value.h +++ b/src/value.h @@ -84,8 +84,8 @@ public: iterator begin() { return iterator(*this, RANGE_TYPE_BEGIN); } iterator end() { return iterator(*this, RANGE_TYPE_END); } - /// return number of steps, max int value if step is null - unsigned long nbsteps() const; + /// return number of steps, max uint32_ value if step is 0 + uint32_t nbsteps() const; friend class tostring_visitor; friend class bracket_visitor; |