From 0359e9c5c791baa2b97865dd11f143fe2f00a35a Mon Sep 17 00:00:00 2001 From: John Reiser Date: Sat, 18 Nov 2006 11:42:08 -0800 Subject: [PATCH] members of struct l_info loader header must be little endian --- src/p_unix.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/p_unix.h b/src/p_unix.h index d552938f..85ab9a99 100644 --- a/src/p_unix.h +++ b/src/p_unix.h @@ -111,9 +111,9 @@ protected: } __attribute_packed; struct l_info { // 12-byte trailer in header for loader - unsigned l_checksum; - unsigned l_magic; - unsigned short l_lsize; + LE32 l_checksum; + LE32 l_magic; + LE16 l_lsize; unsigned char l_version; unsigned char l_format; }