Fix two casts to "daddr_t *" that should have been "ufs_daddr_t *".

This commit is contained in:
Ian Dowse 2002-05-18 19:03:00 +00:00
parent e0be79afbf
commit ed6ca8732c

View File

@ -232,8 +232,9 @@ ufs_bmaparray(vp, bn, bnp, runp, runb)
bn = ap->in_off;
if (runb && bn) {
for(--bn; bn >= 0 && *runb < maxrun &&
is_sequential(ump, ((daddr_t *)bp->b_data)[bn],
((daddr_t *)bp->b_data)[bn+1]);
is_sequential(ump,
((ufs_daddr_t *)bp->b_data)[bn],
((ufs_daddr_t *)bp->b_data)[bn+1]);
--bn, ++*runb);
}
}