summaryrefslogtreecommitdiff
path: root/src/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/gotox.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/dialogs/gotox.c b/src/gui/dialogs/gotox.c
index fe18e4e..96f974a 100644
--- a/src/gui/dialogs/gotox.c
+++ b/src/gui/dialogs/gotox.c
@@ -273,7 +273,7 @@ GtkWidget *create_gotox_dialog_for_cross_references(GtkWindow *parent, GLoadedBi
{
GtkWidget *result; /* Fenêtre à renvoyer */
GtkTreeStore *store; /* Modèle de gestion */
- GArchInstruction **list; /* Liste d'instructions */
+ instr_link_t *list; /* Liste d'instructions */
size_t count; /* Nombre d'éléments présents */
size_t i; /* Boucle de parcours */
const vmpa2t *addr; /* Adresse à considérer */
@@ -292,17 +292,17 @@ GtkWidget *create_gotox_dialog_for_cross_references(GtkWindow *parent, GLoadedBi
if (back)
{
g_arch_instruction_rlock_src(instr);
- count = g_arch_instruction_get_sources(instr, &list, NULL);
+ count = g_arch_instruction_get_sources(instr, &list);
}
else
{
g_arch_instruction_rlock_dest(instr);
- count = g_arch_instruction_get_destinations(instr, &list, NULL);
+ count = g_arch_instruction_get_destinations(instr, &list);
}
for (i = 0; i < count; i++)
{
- addr = get_mrange_addr(g_arch_instruction_get_range(list[i]));
+ addr = get_mrange_addr(g_arch_instruction_get_range(list[i].linked));
add_new_location_to_list(store, binary, addr, NULL);