From 243b8fa1bcadfb312cc334fdd83322a043d97a41 Mon Sep 17 00:00:00 2001 From: piaip Date: Sat, 6 Aug 2005 09:02:50 +0000 Subject: Revision 3000 - sync with ptt1 local modified source git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3000 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/fpg.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'include') diff --git a/include/fpg.h b/include/fpg.h index 199eab02..f237b967 100644 --- a/include/fpg.h +++ b/include/fpg.h @@ -10,9 +10,10 @@ -typedef unsigned char uschar; /* length = 1 */ -typedef unsigned int usint; /* length = 4 */ -typedef unsigned short int ushort; /* length = 4 */ +typedef unsigned char uschar; /* length = 1 */ +typedef unsigned short ushort; /* length = 2 */ +typedef unsigned long uslong; /* length = 4 */ +typedef unsigned int usint; /* length = 4 */ /* ----------------------------------------------------- */ /* .PASSWDS struct : 512 bytes */ @@ -48,12 +49,12 @@ struct sobuserec usint bequery; /* 人氣度 4 bytes */ char toqid[IDLEN + 1]; /* 前次查誰 13 bytes */ char beqid[IDLEN + 1]; /* 前次被誰查 13 bytes */ - unsigned long int totaltime; /* 上線總時數 8 bytes */ + uslong totaltime; /* 上線總時數 8 bytes */ usint sendmsg; /* 發訊息次數 4 bytes */ usint receivemsg; /* 收訊息次數 4 bytes */ - unsigned int goldmoney; /* 風塵金幣 8 bytes */ - unsigned int silvermoney; /* 銀幣 8 bytes */ - unsigned int exp; /* 經驗值 8 bytes */ + usint goldmoney; /* 風塵金幣 8 bytes */ + usint silvermoney; /* 銀幣 8 bytes */ + usint exp; /* 經驗值 8 bytes */ time4_t dtime; /* 存款時間 4 bytes */ int scoretimes; /* 評分次數 4 bytes */ uschar rtimes; /* 填註冊單次數 1 bytes */ -- cgit v1.2.3