Explicitly cast to prevent 'void *' dereference.

This commit is contained in:
Brian Behlendorf 2009-03-13 10:51:11 -07:00
parent ecd2dbcb44
commit c98996ded8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}
}