No magic numbers

This commit is contained in:
Oliver Scherer 2019-02-18 13:55:55 +01:00
parent 3f20a5dff7
commit 1e3d1b65c5

View file

@ -683,7 +683,7 @@ impl UndefMask {
// fill in all the other blocks (much faster than one bit at a time)
if new_state {
for block in (blocka + 1) .. blockb {
self.blocks[block] = 0xFFFF_FFFF_FFFF_FFFF;
self.blocks[block] = u64::max_value();
}
} else {
for block in (blocka + 1) .. blockb {