From 7a987127f424912cd356c443f77e4e6147b57b80 Mon Sep 17 00:00:00 2001 From: bellard Date: Tue, 9 Nov 2004 22:08:48 +0000 Subject: bit mask conversion fix (Harald Welte git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1129 c046a42c-6fe2-441c-8c8c-71466251a162 --- thunk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'thunk.c') diff --git a/thunk.c b/thunk.c index b14fb1777..2dbc378cd 100644 --- a/thunk.c +++ b/thunk.c @@ -236,7 +236,7 @@ unsigned int host_to_target_bitmask(unsigned int alpha_mask, for(btp = trans_tbl; btp->x86_mask && btp->alpha_mask; btp++) { if((alpha_mask & btp->alpha_mask) == btp->alpha_bits) { - x86_mask |= btp->x86_mask; + x86_mask |= btp->x86_bits; } } return(x86_mask); -- cgit v1.2.3