diff options
Diffstat (limited to 'src/mem/cache/blk.hh')
-rw-r--r-- | src/mem/cache/blk.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/cache/blk.hh b/src/mem/cache/blk.hh index ab15355bd..369de6d11 100644 --- a/src/mem/cache/blk.hh +++ b/src/mem/cache/blk.hh @@ -157,7 +157,7 @@ class CacheBlk */ bool isWritable() const { - const int needed_bits = BlkWritable | BlkValid; + const State needed_bits = BlkWritable | BlkValid; return (status & needed_bits) == needed_bits; } @@ -169,7 +169,7 @@ class CacheBlk */ bool isReadable() const { - const int needed_bits = BlkReadable | BlkValid; + const State needed_bits = BlkReadable | BlkValid; return (status & needed_bits) == needed_bits; } |