aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eolian/database_validate.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-12 17:52:44 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-12 18:05:13 +0100
commit19c16b671e3bafd1ea360fbd331b4952391f6ee9 (patch)
tree57485acaae38331839641dc301ab80ab7a8ccf98 /src/lib/eolian/database_validate.c
parenteolian: do not require unit for type_class_get (diff)
downloadefl-19c16b671e3bafd1ea360fbd331b4952391f6ee9.tar.gz
eolian: type_typedecl_get doesn't need a unit
Diffstat (limited to 'src/lib/eolian/database_validate.c')
-rw-r--r--src/lib/eolian/database_validate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eolian/database_validate.c b/src/lib/eolian/database_validate.c
index fbbf26e03d..c5b3664201 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -252,7 +252,7 @@ _validate_type(const Eolian_Unit *src, Eolian_Type *tp)
return _validate(&tp->base);
}
/* user defined */
- tp->tdecl = (Eolian_Typedecl *)eolian_type_typedecl_get(src, tp);
+ tp->tdecl = database_type_decl_find(src, tp);
if (!tp->tdecl)
{
snprintf(buf, sizeof(buf), "undefined type %s", tp->full_name);