From 95c641975bb6c7625a998135079c17e0844f5bbf Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 22 Nov 2004 15:45:47 +0000 Subject: wrong data type >< wrong action in if block @@ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2350 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/pttstruct.h b/include/pttstruct.h index 19c53727..fcdb77bb 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -343,10 +343,15 @@ typedef struct userinfo_t { unsigned short int chc_win; unsigned short int chc_lose; unsigned short int chc_tie; - unsigned short int goodpost; - unsigned short int badpost; - unsigned short int goodsale; - unsigned short int badsale; + + unsigned char goodpost; + char pad_1; + unsigned char badpost; + char pad_2; + unsigned char goodsale; + char pad_3; + unsigned char badsale; + char pad_4; char mailalert; char sex; -- cgit v1.2.3