From 4701cedfd2fc0cf3229d5f83adbc87aae7f7c906 Mon Sep 17 00:00:00 2001 From: Anton Kochkov Date: Tue, 21 Feb 2023 15:17:01 +0800 Subject: [PATCH] Get type format from RzBaseType directly --- src/core/Cutter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/Cutter.cpp b/src/core/Cutter.cpp index 72b8333e..dad33c8e 100644 --- a/src/core/Cutter.cpp +++ b/src/core/Cutter.cpp @@ -3850,7 +3850,7 @@ QList 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; }