From 6d2645df87b7e9469e5df6b9c1c9eec9323aa86d Mon Sep 17 00:00:00 2001 From: wens Date: Mon, 20 Nov 2006 04:46:39 +0000 Subject: add padding (previously added by gcc) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3447 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/pttstruct.h b/include/pttstruct.h index 3cc1595d..537bbcfd 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -257,6 +257,7 @@ typedef struct fileheader_t { char date[6]; /* [02/02] or space(5) */ char title[TTLEN + 1]; /* TODO this multi is a mess now. */ + char pad2; union { /* TODO: MOVE money to outside multi!!!!!! */ int money; @@ -276,6 +277,7 @@ typedef struct fileheader_t { } multi; /* rocker: if bit32 on ==> reference */ /* XXX dirty, split into flag and money if money of each file is less than 16bit? */ unsigned char filemode; /* must be last field @ boards.c */ + char pad3[3]; } fileheader_t; #define FILE_LOCAL 0x1 /* local saved, non-mail */ -- cgit v1.2.3