diff options
Diffstat (limited to 'src/glibext')
-rw-r--r-- | src/glibext/gbufferline.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glibext/gbufferline.c b/src/glibext/gbufferline.c index 201c64b..fbca259 100644 --- a/src/glibext/gbufferline.c +++ b/src/glibext/gbufferline.c @@ -418,7 +418,7 @@ vmpa_t g_buffer_line_get_address(const GBufferLine *line) void g_buffer_line_fill_for_instr(GBufferLine *line, MemoryDataSize psize, MemoryDataSize vsize, const bin_t *content, off_t length, bool full) { size_t len; /* Taille de l'élément inséré */ - char *address; /* Adresse au format texte */ + VMPA_BUFFER(address); /* Adresse au format texte */ char *bin_code; /* Tampon du code binaire */ off_t start; /* Début de traitement */ off_t end; /* Limite de traitement */ @@ -428,10 +428,10 @@ void g_buffer_line_fill_for_instr(GBufferLine *line, MemoryDataSize psize, Memor /* Adresse physique puis virtuelle */ - address = vmpa2_phys_to_string(line->addr, psize, &len); + vmpa2_phys_to_string(line->addr, psize, address, &len); g_buffer_line_insert_text(line, BLC_PHYSICAL, address, len, RTT_RAW); - address = vmpa2_virt_to_string(line->addr, vsize, &len); + vmpa2_virt_to_string(line->addr, vsize, address, &len); g_buffer_line_insert_text(line, BLC_VIRTUAL, address, len, RTT_RAW); /* Code brut */ |