You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2020/08/20 02:30:25 UTC

[qpid-proton] branch master updated: PROTON-2268: Fix Threadercizer warning which fails to build on FreeBSD

This is an automated email from the ASF dual-hosted git repository.

astitcher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-proton.git


The following commit(s) were added to refs/heads/master by this push:
     new 11b53c9  PROTON-2268: Fix Threadercizer warning which fails to build on FreeBSD
11b53c9 is described below

commit 11b53c905f9400b65d57ea0bd8aed71e80678a5e
Author: Andrew Stitcher <as...@apache.org>
AuthorDate: Wed Aug 19 22:29:35 2020 -0400

    PROTON-2268: Fix Threadercizer warning which fails to build on FreeBSD
---
 c/tests/threaderciser.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/c/tests/threaderciser.c b/c/tests/threaderciser.c
index 038d4b8..5f2bb62 100644
--- a/c/tests/threaderciser.c
+++ b/c/tests/threaderciser.c
@@ -94,7 +94,7 @@ static void debug_impl(const char *fmt, ...) {
   char msg[256];
   char *i = msg;
   char *end = i + sizeof(msg);
-  i += assert_no_err(snprintf(i, end-i, "(%lx) ", pthread_self()));
+  i += assert_no_err(snprintf(i, end-i, "(%lx) ", (uintptr_t) pthread_self()));
   if (i < end) {
     va_list ap;
     va_start(ap, fmt);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org