Use parentheses instead of close proximity to ensure layer + 1 is evaluated
before the rest of the expression.
This commit is contained in:
parent
3b48f36ef6
commit
24e2fa2b4d
@ -408,7 +408,7 @@ restart:
|
||||
* to be rare.
|
||||
*/
|
||||
if (idx == IDR_SIZE) {
|
||||
starting_id = id + (1 << (layer+1 * IDR_BITS));
|
||||
starting_id = id + (1 << ((layer + 1) * IDR_BITS));
|
||||
goto restart;
|
||||
}
|
||||
if (idx > sidx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user