[LIB]: tag__is_union should check if its a DW_TAG_union_type

Stupid cut'n'paste error.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-06-07 15:58:33 -03:00
parent 3c48a2aeb6
commit 8ca9c293f1
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ static inline int tag__is_struct(const struct tag *self)
static inline int tag__is_union(const struct tag *self)
{
return self->tag == DW_TAG_structure_type;
return self->tag == DW_TAG_union_type;
}
struct namespace {