summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorChristian Eggers <ceggers@arri.de>2022-09-23 12:51:39 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2022-09-26 10:57:00 -0700
commit7b07f1f980598cf54c91642e6583613bd6185eb1 (patch)
tree759fd3e570d7b3003c4328fd5e4f0c45f968c61f /client
parent6c712030567b76e4ea29adbd816c0e5cc994a45c (diff)
downloadbluez-7b07f1f980598cf54c91642e6583613bd6185eb1.tar.gz
client/player: fix printf format string
Use macros from inttypes.h for correct printf format specifier for int64_t
Diffstat (limited to 'client')
-rw-r--r--client/player.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/player.c b/client/player.c
index 0daacabf3..30ae263c8 100644
--- a/client/player.c
+++ b/client/player.c
@@ -15,7 +15,7 @@
#define _GNU_SOURCE
#include <stdio.h>
#include <stdbool.h>
-#include <stdint.h>
+#include <inttypes.h>
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
@@ -3056,7 +3056,7 @@ static void send_wait(struct timespec *t_start, uint32_t us)
delta_us = us - TS_USEC(&t_diff);
if (delta_us < 0) {
- bt_shell_printf("Send is behind: %zd us - skip sleep",
+ bt_shell_printf("Send is behind: %" PRId64 " us - skip sleep",
delta_us);
delta_us = 1000;
}