diff options
author | Richard Henderson <rth@twiddle.net> | 2012-11-19 12:43:14 -0800 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-11-24 19:52:00 +0000 |
commit | c6c5063c7a5bb1d3fe6b9931a1ec15294e39b8b1 (patch) | |
tree | b05f011433e7cba444abee03ac8147a0a3641a7a /tci.c | |
parent | 31abf92447353ee09ecad0b3b18e458eef3a1215 (diff) | |
download | qemu-c6c5063c7a5bb1d3fe6b9931a1ec15294e39b8b1.tar.gz qemu-c6c5063c7a5bb1d3fe6b9931a1ec15294e39b8b1.tar.bz2 qemu-c6c5063c7a5bb1d3fe6b9931a1ec15294e39b8b1.zip |
tci: Fix type of tci_read_label
Fixes the pointer truncation that was occurring for branches.
Cc: Stefan Weil <sw@weilnetz.de>
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Stefan Weil <sw@weilnetz.de>
Tested-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'tci.c')
-rw-r--r-- | tci.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -338,9 +338,9 @@ static uint64_t tci_read_ri64(uint8_t **tb_ptr) } #endif -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; } |