summaryrefslogtreecommitdiff
path: root/plugins/fmtp
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-09-12 17:47:59 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-09-12 17:47:59 (GMT)
commit607a867355b2ffe09a76f3b4ea8dbc4be1dc477f (patch)
treef0f41e5d10c138c3b4783fc12057af7ac0d1862c /plugins/fmtp
parent1c2949f6828b995c7b9f8feba8fd7214f52f8f4d (diff)
Replaced some database item properties by new flags.
Diffstat (limited to 'plugins/fmtp')
-rw-r--r--plugins/fmtp/parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/fmtp/parser.c b/plugins/fmtp/parser.c
index ac22e55..88762b5 100644
--- a/plugins/fmtp/parser.c
+++ b/plugins/fmtp/parser.c
@@ -127,7 +127,7 @@ static bool parse_field_definition(const fmt_field_def *def, GBinFormat *format,
addr = get_mrange_addr(g_arch_instruction_get_range(instr));
comment = g_db_comment_new_inlined(addr, BLF_HAS_CODE, false);
- g_db_item_set_volatile(G_DB_ITEM(comment), true);
+ g_db_item_add_flag(G_DB_ITEM(comment), DIF_VOLATILE);
switch (def->ctype)
{