aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_time.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/os/unix/ngx_time.h')
-rw-r--r--src/os/unix/ngx_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_time.h b/src/os/unix/ngx_time.h
index fac71adf4..5cd791d0e 100644
--- a/src/os/unix/ngx_time.h
+++ b/src/os/unix/ngx_time.h
@@ -5,7 +5,7 @@
#include <ngx_config.h>
typedef u_int ngx_msec_t;
-#define NGX_MAX_MSEC ~0
+#define NGX_MAX_MSEC (u_int) ~0
typedef struct tm ngx_tm_t;