diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-03 17:38:26 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-06-03 17:38:26 +0800 |
commit | 812bb8cc4e7bbab2e958670916b06fd46bbdc09f (patch) | |
tree | 0c6f92e12028823d3cae0be4b91758f1ec2fc3da /trans | |
parent | 30c0d7a76f4c6bf7fe547b91e5f214a8c2406f12 (diff) | |
download | pttbbs-812bb8cc4e7bbab2e958670916b06fd46bbdc09f.tar pttbbs-812bb8cc4e7bbab2e958670916b06fd46bbdc09f.tar.gz pttbbs-812bb8cc4e7bbab2e958670916b06fd46bbdc09f.tar.bz2 pttbbs-812bb8cc4e7bbab2e958670916b06fd46bbdc09f.tar.lz pttbbs-812bb8cc4e7bbab2e958670916b06fd46bbdc09f.tar.xz pttbbs-812bb8cc4e7bbab2e958670916b06fd46bbdc09f.tar.zst pttbbs-812bb8cc4e7bbab2e958670916b06fd46bbdc09f.zip |
fix padding
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4335 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'trans')
-rw-r--r-- | trans/itoc_trans.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/trans/itoc_trans.c b/trans/itoc_trans.c index eb5d316e..56410113 100644 --- a/trans/itoc_trans.c +++ b/trans/itoc_trans.c @@ -5,7 +5,9 @@ typedef struct { time4_t chrono; - // char pad[4]; // Use only for Wretch +#ifdef FOR_WRETCH + char pad[4]; // Use only for Wretch +#endif int xmode; int xid; char xname[32]; /* ÀɮצWºÙ */ @@ -14,7 +16,9 @@ typedef struct { char date[9]; /* [96/12/01] */ char title[72]; /* ¥DÃD (TTLEN + 1) */ char score; +#ifdef FOR_WRETCH char pad2[4]; +#endif } itoc_HDR; #define ITOC_POST_MARKED 0x00000002 /* marked */ |