summaryrefslogtreecommitdiffhomepage
path: root/src/nginext
diff options
context:
space:
mode:
Diffstat (limited to 'src/nginext')
-rw-r--r--src/nginext/nxt_go_log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nginext/nxt_go_log.h b/src/nginext/nxt_go_log.h
index f1291716..da1ce6a0 100644
--- a/src/nginext/nxt_go_log.h
+++ b/src/nginext/nxt_go_log.h
@@ -16,7 +16,8 @@
#if (NXT_DEBUG)
#define nxt_go_debug(fmt, ARGS...) \
- fprintf(stdout, "go debug[%p]: " fmt "\n", (void *) pthread_self(), ##ARGS)
+ fprintf(stdout, "go debug[%p]: " fmt "\n", \
+ (void *) (intptr_t) pthread_self(), ##ARGS)
#else