From c5d3e727d7099607b72739f65d51ec2267885168 Mon Sep 17 00:00:00 2001 From: Michael Beck Date: Fri, 14 Nov 2008 23:11:00 +0000 Subject: [PATCH] - fixed warning [r23672] --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index b6deeef..76c8e47 100644 --- a/parser.c +++ b/parser.c @@ -4721,7 +4721,7 @@ static void error_redefined_as_different_kind(const source_position_t *pos, static entity_t *record_entity(entity_t *entity, const bool is_definition) { const symbol_t *const symbol = entity->base.symbol; - const namespace_tag_t namespc = entity->base.namespc; + const namespace_tag_t namespc = (namespace_tag_t)entity->base.namespc; const source_position_t *pos = &entity->base.source_position; assert(symbol != NULL); -- 2.20.1