diff options
author | Igor Sysoev <igor@sysoev.ru> | 2004-08-23 19:37:10 +0400 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2004-08-23 19:37:10 +0400 |
commit | 94085ff2b5803eb84e15b8c8fe0cd631d7aa1804 (patch) | |
tree | e509f20966bcfae370b6d8c83cb4df0fba22a1c7 /src/event | |
parent | 6deb041b2f9b360c80bb2530b1fb55634305a55b (diff) |
nginx-0.0.10-2004-08-23-19:37:10 import
Diffstat (limited to 'src/event')
-rw-r--r-- | src/event/modules/ngx_select_module.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/modules/ngx_select_module.c b/src/event/modules/ngx_select_module.c index 5cb421f05..56b50cdf9 100644 --- a/src/event/modules/ngx_select_module.c +++ b/src/event/modules/ngx_select_module.c @@ -409,7 +409,8 @@ static ngx_int_t ngx_select_process_events(ngx_cycle_t *cycle) ngx_time_update(tv.tv_sec); delta = ngx_elapsed_msec; - ngx_elapsed_msec = tv.tv_sec * 1000 + tv.tv_usec / 1000 - ngx_start_msec; + ngx_elapsed_msec = (ngx_epoch_msec_t) tv.tv_sec * 1000 + + tv.tv_usec / 1000 - ngx_start_msec; if (timer != NGX_TIMER_INFINITE) { delta = ngx_elapsed_msec - delta; |