Explicitly cast to prevent 'void *' dereference.
This commit is contained in:
parent
ecd2dbcb44
commit
c98996ded8
|
@ -366,7 +366,7 @@ dbuf_verify(dmu_buf_impl_t *db)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < db->db.db_size >> 3; 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue