Mercurial > hg > nginx-quic
diff src/os/unix/ngx_time.c @ 323:ba876b26b76d
nginx-0.0.3-2004-04-21-22:54:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 21 Apr 2004 18:54:33 +0000 |
parents | 4b1a3a4acc60 |
children | 54f76b0b8dca |
line wrap: on
line diff
--- a/src/os/unix/ngx_time.c +++ b/src/os/unix/ngx_time.c @@ -7,12 +7,12 @@ void ngx_localtime(ngx_tm_t *tm) { #if (HAVE_LOCALTIME_R) - localtime_r(&ngx_cached_time, tm); + localtime_r((time_t *) &ngx_cached_time, tm); #else ngx_tm_t *t; - t = localtime(&ngx_cached_time); + t = localtime((time_t *) &ngx_cached_time); *tm = *t; #endif