diff options
author | Matthew Macy <[email protected]> | 2019-10-31 10:38:03 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-10-31 10:38:03 -0700 |
commit | a5308e252d201b1bcfc8fdfbb49262460a19828c (patch) | |
tree | d9fcfe2495d744637b82c52aeaef3b4229236f78 /include | |
parent | 59055a0164ac5e7dfd690533d39fa9a941204a37 (diff) |
Don't cast away const
Follow up to 511fce6b which missed a cast.
Reviewed-by: Matt Ahrens <[email protected]>
Reviewed-by: Igor Kozhukhov <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Matt Macy <[email protected]>
Closes #9533
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/range_tree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sys/range_tree.h b/include/sys/range_tree.h index 6e0025a2f..b0a9a1dad 100644 --- a/include/sys/range_tree.h +++ b/include/sys/range_tree.h @@ -168,7 +168,7 @@ rs_get_fill_raw(const range_seg_t *rs, const range_tree_t *rt) return (r64->rs_end - r64->rs_start); } case RANGE_SEG_GAP: - return (((range_seg_gap_t *)rs)->rs_fill); + return (((const range_seg_gap_t *)rs)->rs_fill); default: VERIFY(0); return (0); |