summaryrefslogtreecommitdiff
path: root/src/analysis/disass/fetch.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/disass/fetch.c')
-rw-r--r--src/analysis/disass/fetch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/disass/fetch.c b/src/analysis/disass/fetch.c
index e487dd2..6bd9795 100644
--- a/src/analysis/disass/fetch.c
+++ b/src/analysis/disass/fetch.c
@@ -69,8 +69,8 @@ GArchInstruction *disassemble_binary_parts(const GOpenidaBinary *binary, GBinPar
result = NULL;
- format = g_openida_binary_get_format(binary);
- proc = get_arch_processor_from_format(format);
+ format = G_BIN_FORMAT(g_openida_binary_get_format(binary));
+ proc = get_arch_processor_from_format(G_EXE_FORMAT(format));
bin_data = g_openida_binary_get_data(binary, &bin_length);
/* Préparation du suivi de la progression */