summaryrefslogtreecommitdiff
path: root/src/format/elf/elf-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf/elf-int.h')
-rw-r--r--src/format/elf/elf-int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/format/elf/elf-int.h b/src/format/elf/elf-int.h
index 0931654..4ee3a08 100644
--- a/src/format/elf/elf-int.h
+++ b/src/format/elf/elf-int.h
@@ -83,7 +83,7 @@ typedef union _Elf_Phdr
} Elf_Phdr;
-#define ELF_PHDR(fmt, hdr, fld) (fmt->is_32b ? hdr.header32.fld : hdr.header64.fld)
+#define ELF_PHDR(fmt, hdr, fld) (fmt->is_32b ? (hdr)->header32.fld : (hdr)->header64.fld)
/* Entrée de la table de relocalisation */