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:33:28 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-01-12 18:05:13 +0100
commit707ed05d58b2dd46f7617073ab516a862e2a029a (patch)
tree75780247a8772af532b4d8fd48eb49cb02edee6e /src/lib/eolian/database_validate.c
parenteolian: store typedecl/class in type (diff)
downloadefl-707ed05d58b2dd46f7617073ab516a862e2a029a.tar.gz
eolian: do not require unit for type_class_get
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 b6e40b690a..fbbf26e03d 100644
--- a/src/lib/eolian/database_validate.c
+++ b/src/lib/eolian/database_validate.c
@@ -266,7 +266,7 @@ _validate_type(const Eolian_Unit *src, Eolian_Type *tp)
}
case EOLIAN_TYPE_CLASS:
{
- tp->klass = (Eolian_Class *)eolian_type_class_get(src, tp);
+ tp->klass = (Eolian_Class *)eolian_class_get_by_name(src, tp->full_name);
if (!tp->klass)
{
snprintf(buf, sizeof(buf), "undefined class %s "