Get type format from RzBaseType directly

This commit is contained in:
Anton Kochkov 2023-02-21 15:17:01 +08:00 committed by Anton Kochkov
parent 54e8e9c403
commit 4701cedfd2

View File

@ -3850,7 +3850,7 @@ QList<TypeDescription> CutterCore::getBaseType(RzBaseTypeKind kind, const char *
exp.type = type->name;
exp.size = rz_type_db_base_get_bitsize(core->analysis->typedb, type);
exp.format = rz_type_format(core->analysis->typedb, type->name);
exp.format = rz_base_type_as_format(core->analysis->typedb, type);
exp.category = tr(category);
types << exp;
}