summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/eolian/database_expr.c')
-rw-r--r--src/lib/eolian/database_expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian/database_expr.c b/src/lib/eolian/database_expr.c
index 6a3b1d5..1b0a6d1 100644
--- a/src/lib/eolian/database_expr.c
+++ b/src/lib/eolian/database_expr.c
@@ -522,7 +522,7 @@ eval_exp(const Eolian_Unit *unit, const Eolian_Expression *expr,
522 const Eolian_Type *etp = eolian_typedecl_base_type_get(etpd); 522 const Eolian_Type *etp = eolian_typedecl_base_type_get(etpd);
523 if (!etp || etp->type != EOLIAN_TYPE_REGULAR) 523 if (!etp || etp->type != EOLIAN_TYPE_REGULAR)
524 break; 524 break;
525 etpd = eolian_type_typedecl_get(etp); 525 etpd = eolian_type_typedecl_get(unit, etp);
526 } 526 }
527 527
528 if (!etpd) etpd = eolian_typedecl_enum_get_by_name(unit, fulln); 528 if (!etpd) etpd = eolian_typedecl_enum_get_by_name(unit, fulln);