mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-25 18:59:33 +03:00
Don't cast away const
Follow up to 511fce6b
which missed a cast.
Reviewed-by: Matt Ahrens <matt@delphix.com>
Reviewed-by: Igor Kozhukhov <igor@dilos.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Macy <mmacy@FreeBSD.org>
Closes #9533
This commit is contained in:
parent
59055a0164
commit
a5308e252d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user