From: Amos Jeffries Date: Tue, 1 Dec 2009 05:53:30 +0000 (+1300) Subject: time_t is not always struct X-Git-Tag: SQUID_3_2_0_1~525 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=89c09d7610ab4cfc701c0cd60e025af6cea934db;p=thirdparty%2Fsquid.git time_t is not always struct --- diff --git a/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc b/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc index 228a59b3a8..dd9c2d84b9 100644 --- a/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc +++ b/helpers/negotiate_auth/kerberos/negotiate_kerberos_auth_test.cc @@ -91,7 +91,7 @@ LogTime() gettimeofday(&now, NULL); if (now.tv_sec != last_t) { - tm = localtime((const struct time_t*)&now.tv_sec); + tm = localtime((const time_t*)&now.tv_sec); strftime(buf, 127, "%Y/%m/%d %H:%M:%S", tm); last_t = now.tv_sec; }