Commit c6c5063c authored by Richard Henderson's avatar Richard Henderson Committed by Blue Swirl

tci: Fix type of tci_read_label

Fixes the pointer truncation that was occurring for branches.

Cc: Stefan Weil <>
Cc: Blue Swirl <>
Signed-off-by: default avatarRichard Henderson <>
Reviewed-by: default avatarStefan Weil <>
Tested-by: default avatarStefan Weil <>
Signed-off-by: default avatarBlue Swirl <>
parent 31abf924
......@@ -338,9 +338,9 @@ static uint64_t tci_read_ri64(uint8_t **tb_ptr)
static target_ulong tci_read_label(uint8_t **tb_ptr)
static tcg_target_ulong tci_read_label(uint8_t **tb_ptr)
target_ulong label = tci_read_i(tb_ptr);
tcg_target_ulong label = tci_read_i(tb_ptr);
assert(label != 0);
return label;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment