summaryrefslogtreecommitdiff
path: root/plugins/fmtp
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-05-21 12:08:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-05-21 12:08:29 (GMT)
commit7e5b1add6fdeb74b2356acf8ccf7009f45cfa85e (patch)
treeb7373554017e97fcbe24db79d9818272764e858d /plugins/fmtp
parent5dd935b27a765177960bdfe4d2fcb296cbbd41da (diff)
Changed the hierarchy of format objects.
Diffstat (limited to 'plugins/fmtp')
-rw-r--r--plugins/fmtp/parser.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/fmtp/parser.c b/plugins/fmtp/parser.c
index 3379ac2..4a8749d 100644
--- a/plugins/fmtp/parser.c
+++ b/plugins/fmtp/parser.c
@@ -29,6 +29,7 @@
#include <i18n.h>
#include <arch/instructions/raw.h>
+#include <format/known.h>
@@ -70,7 +71,7 @@ static bool parse_field_definition(const fmt_field_def *def, GBinFormat *format,
/* Lecture */
- content = g_binary_format_get_content(format);
+ content = g_known_format_get_content(G_KNOWN_FORMAT(format));
endian = g_binary_format_get_endianness(format);
if (def->get_value != NULL)