From 4ed14dcbc06f8e4a07e25e9ce21ec08e76bd3cf6 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Tue, 6 Apr 2010 11:04:20 -0400 Subject: Use uint64_t as cast for pthread_self(). --- server/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server') diff --git a/server/log.c b/server/log.c index 6b11209..0afc4ba 100644 --- a/server/log.c +++ b/server/log.c @@ -31,7 +31,7 @@ log_priority(int priority, const char *fmt, va_list args) #endif (void)snprintf(lbuff, sizeof(lbuff), - "[tid: %d] %s", (int)pthread_self(), fmt); + "[tid: %llu] %s", (uint64_t)pthread_self(), fmt); vsyslog(priority, lbuff, args); #if 0 -- cgit v1.2.3