Use macros from inttypes.h for correct printf format specifier for
int64_t
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
#include <stdio.h>
#include <stdbool.h>
-#include <stdint.h>
+#include <inttypes.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
delta_us = us - TS_USEC(&t_diff);
if (delta_us < 0) {
- bt_shell_printf("Send is behind: %lld us - skip sleep",
+ bt_shell_printf("Send is behind: %" PRId64 " us - skip sleep",
delta_us);
delta_us = 1000;
}