commit | 11b53c905f9400b65d57ea0bd8aed71e80678a5e | [log] [tgz] |
---|---|---|
author | Andrew Stitcher <astitcher@apache.org> | Wed Aug 19 22:29:35 2020 -0400 |
committer | Andrew Stitcher <astitcher@apache.org> | Wed Aug 19 22:29:35 2020 -0400 |
tree | 181fec62754071c86bc93aee3410f1ad95c32d70 | |
parent | 78b6bfb4602b8c4ff5ed0f07a59263cd844512ef [diff] |
PROTON-2268: Fix Threadercizer warning which fails to build on FreeBSD
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 @@ 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);