summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_sprintf.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/nxt_sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nxt_sprintf.c b/src/nxt_sprintf.c
index 933ce997..c07b44da 100644
--- a/src/nxt_sprintf.c
+++ b/src/nxt_sprintf.c
@@ -497,7 +497,7 @@ nxt_vsprintf(u_char *buf, u_char *end, const char *fmt, va_list args)
goto number;
case 'T':
- ui64 = (uint64_t) va_arg(args, nxt_tid_t);
+ ui64 = (uint64_t) (uintptr_t) va_arg(args, nxt_tid_t);
sign = 0;
goto number;
#if 0