]> git.proxmox.com Git - qemu.git/commitdiff
tcg-i386: remove use of _Bool that slipped code review
authorAurelien Jarno <aurelien@aurel32.net>
Thu, 10 Jun 2010 18:40:24 +0000 (20:40 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Thu, 10 Jun 2010 18:41:08 +0000 (20:41 +0200)
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
tcg/i386/tcg-target.c

index 4d952007b517c34a6e60ae1a4daf4aa96c719999..8b902abd54fbb7e5273bdff6bfd54efc540bcf16 100644 (file)
@@ -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.  */