diff --git a/src/cc65/symtab.c b/src/cc65/symtab.c index d10a7ad0a..0a03cabca 100644 --- a/src/cc65/symtab.c +++ b/src/cc65/symtab.c @@ -478,7 +478,7 @@ SymEntry* FindStructField (const Type* T, const char* Name) SymEntry* Field = 0; /* The given type may actually be a pointer to struct */ - if (T->C == T_PTR) { + if (IsTypePtr (T)) { ++T; }