[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [qemu-upstream-unstable] tci: Fix type of tci_read_label
commit c6c5063c7a5bb1d3fe6b9931a1ec15294e39b8b1 Author: Richard Henderson <rth@xxxxxxxxxxx> Date: Mon Nov 19 12:43:14 2012 -0800 tci: Fix type of tci_read_label Fixes the pointer truncation that was occurring for branches. Cc: Stefan Weil <sw@xxxxxxxxxxx> Cc: Blue Swirl <blauwirbel@xxxxxxxxx> Signed-off-by: Richard Henderson <rth@xxxxxxxxxxx> Reviewed-by: Stefan Weil <sw@xxxxxxxxxxx> Tested-by: Stefan Weil <sw@xxxxxxxxxxx> Signed-off-by: Blue Swirl <blauwirbel@xxxxxxxxx> --- tci.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tci.c b/tci.c index 9c87c8e..54cf1d9 100644 --- a/tci.c +++ b/tci.c @@ -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; } -- generated by git-patchbot for /home/xen/git/qemu-upstream-unstable.git _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |