From a3b932b3f948383aa62324c99d84d4a39692c70f Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Tue, 6 Apr 2010 22:53:16 +0200 Subject: [PATCH] tccgen: Fix broken use of ATTR_MODE Sorry for that. -- By by ... Detlef --- tccgen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tccgen.c b/tccgen.c index 0864ffc7..87c9f0d2 100644 --- a/tccgen.c +++ b/tccgen.c @@ -2900,8 +2900,8 @@ static int parse_btype(CType *type, AttributeDef *ad) case TOK_ATTRIBUTE1: case TOK_ATTRIBUTE2: parse_attribute(ad); - if (ATTR_MODE(ad)) { - u = ATTR_MODE(ad) -1; + if (ad->mode) { + u = ad->mode -1; t = (t & ~VT_BTYPE) | u; } break;