summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2018-09-16 21:58:26 -0600
committerJens Axboe <axboe@kernel.dk>2018-09-16 21:58:26 -0600
commit0f9f1921197d79fe5069473b9d85ca4559ef8c42 (patch)
tree4d159acc12b0a74d4f3ac89d9955435ca70843a3 /lib
parent390074458f9e6018e8c027c519bdb6c2139b09ab (diff)
downloadfio-0f9f1921197d79fe5069473b9d85ca4559ef8c42.tar.gz
fio-0f9f1921197d79fe5069473b9d85ca4559ef8c42.tar.bz2
axmap: isset_fn() should use 1ULL, not 1UL
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib')
-rw-r--r--lib/axmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axmap.c b/lib/axmap.c
index ecd46970..27301bd8 100644
--- a/lib/axmap.c
+++ b/lib/axmap.c
@@ -325,7 +325,7 @@ unsigned int axmap_set_nr(struct axmap *axmap, uint64_t bit_nr,
static bool axmap_isset_fn(struct axmap_level *al, uint64_t offset,
unsigned int bit, void *unused)
{
- return (al->map[offset] & (1UL << bit)) != 0;
+ return (al->map[offset] & (1ULL << bit)) != 0;
}
bool axmap_isset(struct axmap *axmap, uint64_t bit_nr)