From 3d1bcab5f60545ce05fbf67acf2cff1579ad7a77 Mon Sep 17 00:00:00 2001 From: Jihoon Jung Date: Mon, 24 Aug 2020 19:17:26 +0900 Subject: [PATCH] Fix build error for 64bit architectures Change-Id: I090d52e3865e9ae5dd1746bfee2e1d2bb003de30 Signed-off-by: Jihoon Jung --- src/uwb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/uwb.c b/src/uwb.c index e9afa22..4c46893 100755 --- a/src/uwb.c +++ b/src/uwb.c @@ -25,6 +25,7 @@ #include #include #include +#include #define UWB_DBUS_SERVICE "org.tizen.uwb" /**< For uwb dbus */ #define UWB_DBUS_MANAGER_PATH "/org/tizen/uwb/manager" /**< For manager dbus */ @@ -447,7 +448,7 @@ EXPORT_API int uwb_network_get_remote_node_count(uwb_network_h network, int *rem static void __foreach_node(gpointer data, gpointer user_data) { uwb_node_s *node = (uwb_node_s *)data; - _DBG("panid : 0x%X, nodeid : 0x%04llX, distance : %lld", node->pan_id, node->node_id, node->distance); + _DBG("panid : 0x%X, nodeid : 0x%04"PRIX64", distance : %"PRId64"", node->pan_id, node->node_id, node->distance); if (uwb_ctx.foreach_remote_node_cb != NULL) uwb_ctx.foreach_remote_node_cb((uwb_node_h)node, user_data); -- 2.7.4