From: Aurelien Jarno Date: Thu, 10 Jun 2010 18:40:24 +0000 (+0200) Subject: tcg-i386: remove use of _Bool that slipped code review X-Git-Tag: v0.13.0-rc0~309 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=447d681e8b23fec360c95131c0b037d82dce495c;p=users%2Fdwmw2%2Fqemu.git tcg-i386: remove use of _Bool that slipped code review Signed-off-by: Aurelien Jarno --- diff --git a/tcg/i386/tcg-target.c b/tcg/i386/tcg-target.c index 4d952007b5..8b902abd54 100644 --- a/tcg/i386/tcg-target.c +++ b/tcg/i386/tcg-target.c @@ -656,7 +656,7 @@ static void tgen_arithi(TCGContext *s, int c, int r0, partial flags update stalls on Pentium4 and are not recommended by current Intel optimization manuals. */ if (!cf && (c == ARITH_ADD || c == ARITH_SUB) && (val == 1 || val == -1)) { - _Bool is_inc = (c == ARITH_ADD) ^ (val < 0); + int is_inc = (c == ARITH_ADD) ^ (val < 0); if (TCG_TARGET_REG_BITS == 64) { /* The single-byte increment encodings are re-tasked as the REX prefixes. Use the MODRM encoding. */