diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-04-21 18:54:33 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-04-21 18:54:33 +0000 |
commit | 732a27196381164c799d345ec0d010b416408555 (patch) | |
tree | 043848398927223e1b08d1b15c071b3a23717d76 /src/os/unix/ngx_time.c | |
parent | bb570859043557c5c1b20d933ff2e4c18d13c980 (diff) | |
download | nginx-732a27196381164c799d345ec0d010b416408555.tar.gz nginx-732a27196381164c799d345ec0d010b416408555.zip |
nginx-0.0.3-2004-04-21-22:54:33 import
Diffstat (limited to 'src/os/unix/ngx_time.c')
-rw-r--r-- | src/os/unix/ngx_time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_time.c b/src/os/unix/ngx_time.c index 221b64cd5..5ba95bc30 100644 --- 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 |