Diff between bfc07e509d57b3ec572a74b9a40cbe0015c4c6aa and ac4a92264accd03c4a1686847ede5e816e3ed435
Changed Files
| File | Additions | Deletions | Status |
| monitor/l2cap.c | +3 | -1 | modified |
Full Patch
diff --git a/monitor/l2cap.c b/monitor/l2cap.c
index 2e26510..017f7a3 100644
--- a/monitor/l2cap.c
+++ b/monitor/l2cap.c
@@ -26,6 +26,8 @@
#include <config.h>
#endif
+#include <inttypes.h>
+
#include <bluetooth/bluetooth.h>
#include "bt.h"
@@ -348,7 +350,7 @@ static void sig_info_rsp(const void *data, uint16_t size)
break;
}
channels = bt_get_le64(data);
- print_field("Channels: 0x%16.16lx", channels);
+ print_field("Channels: 0x%16.16" PRIu64, channels);
break;
default:
packet_hexdump(data, size);