mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-29 16:33:14 +01:00
change value of int62_t::max to avoid flag bit being set
This commit is contained in:
parent
5772dcc72b
commit
179f2b2624
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class alignas(16) int62_t {
|
|||
int62_t (bool bc, int64_t vc) : v (build (bc, vc)) {}
|
||||
int62_t (int62_t const & other) { v.store (other.v.load()); }
|
||||
|
||||
static const int64_t max = 4611686018427387904;
|
||||
static const int64_t max = 4611686018427387903; /* 2^62 - 1 */
|
||||
static const int64_t min = -2305843009213693952;
|
||||
|
||||
bool flagged() const { return flagged (v); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue