summaryrefslogtreecommitdiffstats
path: root/module/zfs/dbuf.c
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-03-13 10:51:11 -0700
committerBrian Behlendorf <[email protected]>2009-03-13 10:51:11 -0700
commitc98996ded8fe8d9446321867a06ae5d4d2bcd892 (patch)
tree7e42c88d15f19c182cc4dfc6c9f221c48e768669 /module/zfs/dbuf.c
parentecd2dbcb441f747567cb155f62606537c491a8be (diff)
Explicitly cast to prevent 'void *' dereference.
Diffstat (limited to 'module/zfs/dbuf.c')
-rw-r--r--module/zfs/dbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/dbuf.c b/module/zfs/dbuf.c
index b17f884e0..cb337671c 100644
--- a/module/zfs/dbuf.c
+++ b/module/zfs/dbuf.c
@@ -366,7 +366,7 @@ dbuf_verify(dmu_buf_impl_t *db)
int i;
for (i = 0; i < db->db.db_size >> 3; i++) {
- ASSERT(db->db.db_data[i] == 0);
+ ASSERT(((uint64_t *)db->db.db_data)[i] == 0);
}
}
}