From 7e27cefe6a3a906708d2682dc72e83963ed40c86 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Mon, 25 Sep 2023 16:43:56 +0000 Subject: [PATCH] This made 32-bit happier. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4476 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- src/trace.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/trace.c b/src/trace.c index b3d59d39..bf088133 100644 --- a/src/trace.c +++ b/src/trace.c @@ -341,7 +341,7 @@ char* tf_trace_export(tf_trace_t* trace) size += snprintf(buffer + size, k_buffer_size - size, "{\"ph\":\"M\",\"pid\":%d,\"tid\":\"0x%" PRIx64 "\",\"name\":\"thread_name\",\"args\":{\"name\":\"%s\"}},\n", getpid(), - thread->id, + (uint64_t)thread->id, thread->name); } uv_rwlock_rdunlock(&trace->threads_lock);