We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be8ef7b commit fa5b28aCopy full SHA for fa5b28a
1 file changed
cbxp/control_blocks/ldax.cpp
@@ -61,11 +61,10 @@ nlohmann::json LDAX::get(void* p_control_block) {
61
// Get LDAX from ASSB
62
// Get LDAX from ASSB - assbldax is a 64-bit pointer
63
const struct ldax* p_next_ldax =
64
- reinterpret_cast<const struct ldax*>(
65
- static_cast<uintptr_t>(p_assb->assbldax));
+ reinterpret_cast<const struct ldax*>(p_assb->assbldax);
66
67
nlohmann::json next_ldax =
68
- LDAX::get(const_cast<void*>(static_cast<const void*>(p_next_ldax)));
+ LDAX::get(reinterpret_cast<void*>(p_next_ldax));
69
if (!next_ldax.is_null()) {
70
ldaxs.push_back(next_ldax);
71
}
0 commit comments