summaryrefslogtreecommitdiffstats
path: root/lib/libstand
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libstand')
-rw-r--r--lib/libstand/ufs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libstand/ufs.c b/lib/libstand/ufs.c
index e31c298..2bd9d17 100644
--- a/lib/libstand/ufs.c
+++ b/lib/libstand/ufs.c
@@ -199,7 +199,7 @@ block_map(f, file_block, disk_block_p)
int level;
int idx;
daddr_t ind_block_num;
- daddr_t *ind_p;
+ u_int32_t *ind_p;
int rc;
/*
@@ -274,7 +274,7 @@ block_map(f, file_block, disk_block_p)
fp->f_blkno[level] = ind_block_num;
}
- ind_p = (daddr_t *)fp->f_blk[level];
+ ind_p = (u_int32_t *)fp->f_blk[level];
if (level > 0) {
idx = file_block / fp->f_nindir[level - 1];
OpenPOWER on IntegriCloud