summaryrefslogtreecommitdiff
path: root/src/lib/eolian/database_validate.c
diff options
context:
space:
mode:
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)
266 } 266 }
267 case EOLIAN_TYPE_CLASS: 267 case EOLIAN_TYPE_CLASS:
268 { 268 {
269 tp->klass = (Eolian_Class *)eolian_type_class_get(src, tp); 269 tp->klass = (Eolian_Class *)eolian_class_get_by_name(src, tp->full_name);
270 if (!tp->klass) 270 if (!tp->klass)
271 { 271 {
272 snprintf(buf, sizeof(buf), "undefined class %s " 272 snprintf(buf, sizeof(buf), "undefined class %s "