summaryrefslogtreecommitdiffstats
path: root/util/passwdconverter.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-24 22:06:48 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-24 22:06:48 +0800
commit9084d9602e8725a6fb832d4396c12ddd7bb2b7c7 (patch)
tree78d04dab42a50e73845c8e31eb877001fb8379cd /util/passwdconverter.c
parentf6324fdcb56a70815842cc39cb1826ce6b82148c (diff)
downloadpttbbs-9084d9602e8725a6fb832d4396c12ddd7bb2b7c7.tar
pttbbs-9084d9602e8725a6fb832d4396c12ddd7bb2b7c7.tar.gz
pttbbs-9084d9602e8725a6fb832d4396c12ddd7bb2b7c7.tar.bz2
pttbbs-9084d9602e8725a6fb832d4396c12ddd7bb2b7c7.tar.lz
pttbbs-9084d9602e8725a6fb832d4396c12ddd7bb2b7c7.tar.xz
pttbbs-9084d9602e8725a6fb832d4396c12ddd7bb2b7c7.tar.zst
pttbbs-9084d9602e8725a6fb832d4396c12ddd7bb2b7c7.zip
use time4_t(uint32_t) instead of time_t for x86-64 arch.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2426 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/passwdconverter.c')
-rw-r--r--util/passwdconverter.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/passwdconverter.c b/util/passwdconverter.c
index 85b2cf8f..86836d1f 100644
--- a/util/passwdconverter.c
+++ b/util/passwdconverter.c
@@ -10,8 +10,8 @@ typedef struct old_userec_t {
unsigned int userlevel;
unsigned short numlogins;
unsigned short numposts;
- time_t firstlogin;
- time_t lastlogin;
+ time4_t firstlogin;
+ time4_t lastlogin;
char lasthost[16];
int money;
char remoteuser[3]; /* 保留 目前沒用到的 */
@@ -28,7 +28,7 @@ typedef struct old_userec_t {
unsigned char invisible;
unsigned int exmailbox;
chicken_t mychicken;
- time_t lastsong;
+ time4_t lastsong;
unsigned int loginview;
unsigned char channel; /* 動態看板 (unused?) */
unsigned short vl_count; /* ViolateLaw counter */