From b53b7b0413d4898b9bd73cd30e8d433b8893a66d Mon Sep 17 00:00:00 2001 From: Max Romanov Date: Mon, 26 Jun 2017 19:58:43 +0300 Subject: Build on Solaris 11 fixed. --- src/nginext/nxt_go_log.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nginext') 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 -- cgit