From 9084d9602e8725a6fb832d4396c12ddd7bb2b7c7 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 24 Jan 2005 14:06:48 +0000 Subject: 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 --- mbbsd/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/menu.c') diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 975656e3..092c497f 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -79,7 +79,7 @@ static void show_status(void) { int i; - struct tm *ptime = localtime(&now); + struct tm *ptime = localtime4(&now); char mystatus[160]; char *myweek = "天一二三四五六"; const char *msgs[] = {"關閉", "打開", "拔掉", "防水", "好友"}; -- cgit v1.2.3