From 92a65c506a6e7b196c52c61f25aa8b49cff74a38 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Mon, 6 Jul 2009 16:36:01 +0200 Subject: [PATCH] use architecture specific Elf header --- src/libstrongswan/integrity_checker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libstrongswan/integrity_checker.c b/src/libstrongswan/integrity_checker.c index 3643c0af6..af48a5d2a 100644 --- a/src/libstrongswan/integrity_checker.c +++ b/src/libstrongswan/integrity_checker.c @@ -110,7 +110,7 @@ static int callback(struct dl_phdr_info *dlpi, size_t size, Dl_info *dli) for (i = 0; i < dlpi->dlpi_phnum; i++) { - const Elf32_Phdr *sgmt = &dlpi->dlpi_phdr[i]; + const ElfW(Phdr) *sgmt = &dlpi->dlpi_phdr[i]; /* we are interested in the executable LOAD segment */ if (sgmt->p_type == PT_LOAD &&