client/player: fix printf format string

Use macros from inttypes.h for correct printf format specifier for
int64_t
This commit is contained in:
Christian Eggers 2022-09-23 12:51:39 +02:00 committed by Luiz Augusto von Dentz
parent 6c71203056
commit 7b07f1f980

View File

@ -15,7 +15,7 @@
#define _GNU_SOURCE #define _GNU_SOURCE
#include <stdio.h> #include <stdio.h>
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <inttypes.h>
#include <errno.h> #include <errno.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.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); delta_us = us - TS_USEC(&t_diff);
if (delta_us < 0) { 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);
delta_us = 1000; delta_us = 1000;
} }