The type of the return value of be64toh() can vary from unsigned long to
unsigned long long across platforms, cast it to the longer type before
printing.
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
assert(ret_len == sizeof(connect));
BT_LOGD("Received viewer session ID : %" PRIu64,
- be64toh(connect.viewer_session_id));
+ (uint64_t) be64toh(connect.viewer_session_id));
BT_LOGD("Relayd version : %u.%u", be32toh(connect.major),
be32toh(connect.minor));