removed sh4 user build (not usable yet)
[qemu] / thunk.c
diff --git a/thunk.c b/thunk.c
index b14fb17..bc9bd28 100644 (file)
--- a/thunk.c
+++ b/thunk.c
@@ -153,7 +153,7 @@ const argtype *thunk_convert(void *dst, const void *src,
         }
         break;
 #else
-#error unsupported conversion
+#warning unsupported conversion
 #endif
     case TYPE_ARRAY:
         {
@@ -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);