fix warnings
authorMatthias Braun <matthias.braun@kit.edu>
Wed, 23 May 2012 19:20:25 +0000 (21:20 +0200)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 17 Jun 2012 13:06:59 +0000 (15:06 +0200)
preprocessor.c

index f9cc49b..b50f70a 100644 (file)
@@ -1556,7 +1556,7 @@ static void parse_ifdef_ifndef_directive(void)
                condition = true;
        } else {
                /* evaluate wether we are in true or false case */
-               condition = !pp_token.base.symbol->pp_definition == is_ifndef;
+               condition = (bool)!pp_token.base.symbol->pp_definition == is_ifndef;
 
                next_preprocessing_token();