[master] 544f62bdc Appease Solaris gcc 64bit

Nils Goroll nils.goroll at uplex.de
Wed Apr 1 18:33:08 UTC 2020


commit 544f62bdc5c623112025d39c15a2bf687da8801d
Author: Nils Goroll <nils.goroll at uplex.de>
Date:   Wed Apr 1 20:31:39 2020 +0200

    Appease Solaris gcc 64bit

diff --git a/bin/varnishd/cache/cache_panic.c b/bin/varnishd/cache/cache_panic.c
index d4cfc8293..48d6c7618 100644
--- a/bin/varnishd/cache/cache_panic.c
+++ b/bin/varnishd/cache/cache_panic.c
@@ -783,7 +783,7 @@ pan_ic(const char *func, const char *file, int line, const char *cond,
 	if (err)
 		VSB_printf(pan_vsb, "errno = %d (%s)\n", err, vstrerror(err));
 
-	VSB_printf(pan_vsb, "pthread.self = %p\n", (void *)pthread_self());
+	VSB_printf(pan_vsb, "pthread.self = %p\n", TRUST_ME(pthread_self()));
 
 	q = THR_GetName();
 	if (q != NULL)


More information about the varnish-commit mailing list