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 ede87f4 PROTON-2268: Fix the fix so it works everywhere
ede87f4 is described below
commit ede87f48af3f9eda4fc53f0d12ff1294e07d4e3b
Author: Andrew Stitcher <[email protected]>
AuthorDate: Thu Aug 20 15:47:44 2020 -0400
PROTON-2268: Fix the fix so it works everywhere
---
VERSION.txt | 2 +-
c/tests/threaderciser.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/VERSION.txt b/VERSION.txt
index 86d919a..fcc99b1 100644
--- a/VERSION.txt
+++ b/VERSION.txt
@@ -1 +1 @@
-0.33.0-SNAPSHOT
+0.32.0-SNAPSHOT
diff --git a/c/tests/threaderciser.c b/c/tests/threaderciser.c
index 5f2bb62..f787bda 100644
--- a/c/tests/threaderciser.c
+++ b/c/tests/threaderciser.c
@@ -57,6 +57,7 @@
#include <proton/netaddr.h>
#include <proton/proactor.h>
+#include <inttypes.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
@@ -94,7 +95,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) ", (uintptr_t) pthread_self()));
+ i += assert_no_err(snprintf(i, end-i, "(%" PRIxPTR ") ", (uintptr_t)
pthread_self()));
if (i < end) {
va_list ap;
va_start(ap, fmt);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]