summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_unit.c
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-03-25 17:32:53 +0300
committerAndrei Belov <defan@nginx.com>2021-03-25 17:32:53 +0300
commit83d2ce0ae884f73a111f9b1807d5393a150bf116 (patch)
tree2c483a9eae55233df4e308c5232734e03622cee0 /src/nxt_unit.c
parentd2579d52b9583e5add0a71c6c7fb9f1b0c948a59 (diff)
parent3c969905bd6db6446b5213acb616e8c04ff546f4 (diff)
downloadunit-83d2ce0ae884f73a111f9b1807d5393a150bf116.tar.gz
unit-83d2ce0ae884f73a111f9b1807d5393a150bf116.tar.bz2
Merged with the default branch.1.23.0-1
Diffstat (limited to 'src/nxt_unit.c')
-rw-r--r--src/nxt_unit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_unit.c b/src/nxt_unit.c
index 2fef17c5..ae4499d8 100644
--- a/src/nxt_unit.c
+++ b/src/nxt_unit.c
@@ -3785,7 +3785,7 @@ nxt_unit_shm_open(nxt_unit_ctx_t *ctx, size_t size)
char name[64];
snprintf(name, sizeof(name), NXT_SHM_PREFIX "unit.%d.%p",
- lib->pid, (void *) pthread_self());
+ lib->pid, (void *) (uintptr_t) pthread_self());
#endif
#if (NXT_HAVE_MEMFD_CREATE)