diff options
Diffstat (limited to 'src/format/executable.c')
-rw-r--r-- | src/format/executable.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/format/executable.c b/src/format/executable.c index 5ff773c..325dc8b 100644 --- a/src/format/executable.c +++ b/src/format/executable.c @@ -182,7 +182,7 @@ GDbgFormat *g_exe_format_get_debug_info(const GExeFormat *format, size_t index) const char *g_exe_format_get_target_machine(const GExeFormat *format) { - return format->get_machine(format); + return G_EXE_FORMAT_GET_CLASS(format)->get_machine(format); } @@ -213,8 +213,7 @@ GBinPortion *g_exe_format_get_portions(GExeFormat *format) g_binary_portion_set_values(format->portions, &addr, length); - if (format->refine_portions != NULL) - format->refine_portions(format, format->portions); + G_EXE_FORMAT_GET_CLASS(format)->refine_portions(format, format->portions); } |