mi-builder: c++ warning fix
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: José Roberto de Souza <jose.souza@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29571>
This commit is contained in:

committed by
Marge Bot

parent
eef1a5b607
commit
634c7b097b
@@ -1206,7 +1206,7 @@ mi_store_relocated_address_reg64(struct mi_builder *b, struct mi_value addr_reg)
|
||||
|
||||
const unsigned addr_dw =
|
||||
GENX(MI_STORE_REGISTER_MEM_MemoryAddress_start) / 8;
|
||||
token.ptrs[i] = (void *)_dst + addr_dw;
|
||||
token.ptrs[i] = (uint64_t *)((uint8_t *)_dst + addr_dw);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user