Fix 64bit dlog format error
[platform/core/connectivity/bluetooth-agent.git] / map-agent / bluetooth_map_agent.c
index 978a6e7..a8a2311 100644 (file)
@@ -431,7 +431,7 @@ guint64 _bt_add_id(int uid, int msg_type)
 
        DBG("Add id: %d, MsgType:%d", uid, msg_type);
        test = _bt_validate_uid(uid, msg_type);
-       DBG("test: %llx\n", test);
+       DBG("test: %llu\n", (unsigned long long int)test);
        if (test)
                return test;
 
@@ -442,7 +442,7 @@ guint64 _bt_add_id(int uid, int msg_type)
        info->map_id = map_id;
        info->uid = uid;
        info->msg_type = msg_type;
-       DBG("map_id = %llx, uid = %d, MsgType=%d", info->map_id, info->uid, msg_type);
+       DBG("map_id = %llu, uid = %d, MsgType=%d", (unsigned long long int)info->map_id, info->uid, msg_type);
 
        id_list = g_slist_append(id_list, info);