aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/sys/range_tree.h2
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);