From f351277f61b32432b7211b84683e34dad7c08baa Mon Sep 17 00:00:00 2001 From: "Markus F.X.J. Oberhumer" Date: Mon, 30 Oct 2000 00:29:06 +0000 Subject: [PATCH] Added some assertions about the struct sizes. committer: mfx 972865746 +0000 --- src/p_unix.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/p_unix.cpp b/src/p_unix.cpp index 697910ed..40a9be02 100644 --- a/src/p_unix.cpp +++ b/src/p_unix.cpp @@ -45,6 +45,8 @@ PackUnix::PackUnix(InputFile *f) : { assert(sizeof(Elf_LE32_Ehdr) == 52); assert(sizeof(Elf_LE32_Phdr) == 32); + assert(sizeof(l_info) == 12); + assert(sizeof(p_info) == 12); }