summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-10-25 22:05:53 -0400
committerGarrett D'Amore <garrett@damore.org>2018-10-25 22:05:53 -0400
commitffc1e7405171ddbc6d2781ef71f86f709624450c (patch)
tree8835bb0d9e5fc5a5525a7519f46908648a581f5f /tests
parent5c2973001e20132bb47dbd23a1c5e815c56e8cfb (diff)
downloadnng-ffc1e7405171ddbc6d2781ef71f86f709624450c.tar.gz
nng-ffc1e7405171ddbc6d2781ef71f86f709624450c.tar.bz2
nng-ffc1e7405171ddbc6d2781ef71f86f709624450c.zip
Clean up some zerotier compiler warnings.
Diffstat (limited to 'tests')
-rw-r--r--tests/zt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/zt.c b/tests/zt.c
index bc11d3ac..b46741ab 100644
--- a/tests/zt.c
+++ b/tests/zt.c
@@ -287,7 +287,8 @@ TestMain("ZeroTier Transport", {
So(nng_listener_create(&l_test, s_test, "zt://*." NWID ":0") == 0);
So(nng_listener_start(l_test, 0) == 0);
So(nng_listener_getopt_uint64(l_test, NNG_OPT_ZT_NODE, &node) == 0);
- snprintf(fmt, sizeof(fmt), "zt://%llx." NWID ":%%u", node);
+ snprintf(fmt, sizeof(fmt), "zt://%llx." NWID ":%%u",
+ (unsigned long long) node);
nng_listener_close(l_test);
trantest_test_extended(fmt, check_props);