Port: fix format warnings on Cygwin
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 15 May 2018 20:19:49 +0000 (16:19 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 17 May 2018 18:25:39 +0000 (14:25 -0400)
commitf8fc08d258be3b82ddce66af0c39f9222656ff42
treede28f6a2bbd03aeba76d26d7dd8e1da766e0f80c
parentf15331c0d536404f789c7bfda7e4db3e266e40dd
Port: fix format warnings on Cygwin

On Cygwin, be64toh() returns a "long long unsigned int" while the
format specifier PRIu64 expects a "long unsigned int". Both types
are 64bits integers, just cast the result to uint64_t to silence
the warnings.

Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-relayd/live.c
This page took 0.024795 seconds and 4 git commands to generate.