From f841191ac33d4a0fcb125569748b2949339430c1 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 28 Dec 2012 02:56:16 +0000 Subject: Fix warnings git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5746 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/daemon/logind/logind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pttbbs/daemon/logind/logind.c b/pttbbs/daemon/logind/logind.c index 0274c9e9..6680a151 100644 --- a/pttbbs/daemon/logind/logind.c +++ b/pttbbs/daemon/logind/logind.c @@ -565,7 +565,7 @@ _telnet_write_data_cb(void *write_arg, int fd GCC_UNUSED, #ifdef LOGIND_OPENFD_IN_AYT static void -_telnet_send_ayt_cb(void *ayt_arg, int fd) +_telnet_send_ayt_cb(void *ayt_arg, int fd GCC_UNUSED) { login_conn_ctx *conn = (login_conn_ctx *)ayt_arg; char buf[64]; @@ -1055,7 +1055,7 @@ regular_check() { // cache results static time_t last_check_time = 0; - time_t now = time(0); + time4_t now = time(0); if ( now - last_check_time < LOGIND_REGULAR_CHECK_DURATION) return; -- cgit v1.2.3