diff --git a/fs/driver/fs_blockmerge.c b/fs/driver/fs_blockmerge.c index d4fab5e689265..ae3b06e757aea 100644 --- a/fs/driver/fs_blockmerge.c +++ b/fs/driver/fs_blockmerge.c @@ -149,7 +149,7 @@ static int merge_close(FAR struct inode *inode) size_t i; DEBUGASSERT(inode && inode->i_private); - priv = (FAR struct merge_priv_s *)inode->i_private; + priv = inode->i_private; for (i = 0; i < priv->npart; i++) {