diff options
-rw-r--r-- | sparse-llvm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sparse-llvm.c b/sparse-llvm.c index 0b826ce0..90a931b7 100644 --- a/sparse-llvm.c +++ b/sparse-llvm.c @@ -194,7 +194,7 @@ static LLVMTypeRef symbol_type(struct symbol *sym) /* don't cache the result for SYM_NODE */ if (sym->type == SYM_NODE) - return symbol_type(sym->ctype.base_type); + sym = sym->ctype.base_type; if (sym->aux) return sym->aux; |