diff options
author | Brian Behlendorf <[email protected]> | 2009-03-13 10:51:11 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2009-03-13 10:51:11 -0700 |
commit | c98996ded8fe8d9446321867a06ae5d4d2bcd892 (patch) | |
tree | 7e42c88d15f19c182cc4dfc6c9f221c48e768669 /module/zfs/dbuf.c | |
parent | ecd2dbcb441f747567cb155f62606537c491a8be (diff) |
Explicitly cast to prevent 'void *' dereference.
Diffstat (limited to 'module/zfs/dbuf.c')
-rw-r--r-- | module/zfs/dbuf.c | 2 |
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); } } } |