mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 08:14:28 +08:00
client/player: fix printf format string
Use macros from inttypes.h for correct printf format specifier for int64_t
This commit is contained in:
parent
6c71203056
commit
7b07f1f980
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user