summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_work_queue.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_work_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_work_queue.h b/src/nxt_work_queue.h
index d85a784c..6c2d6c23 100644
--- a/src/nxt_work_queue.h
+++ b/src/nxt_work_queue.h
@@ -21,7 +21,7 @@ struct nxt_task_s {
#define nxt_task_next_ident() \
- ((uint32_t) nxt_atomic_fetch_add(&nxt_task_ident, 1) & 0x3fffffff)
+ ((uint32_t) nxt_atomic_fetch_add(&nxt_task_ident, 1) & 0x3FFFFFFF)
/*