client/player: fix printf format string
authorChristian Eggers <ceggers@arri.de>
Fri, 23 Sep 2022 10:51:39 +0000 (12:51 +0200)
committerAyush Garg <ayush.garg@samsung.com>
Mon, 15 May 2023 09:25:55 +0000 (14:55 +0530)
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>
client/player.c

index 07d1d20..70a2d11 100644 (file)
@@ -14,7 +14,7 @@
 
 #include <stdio.h>
 #include <stdbool.h>
-#include <stdint.h>
+#include <inttypes.h>
 #include <errno.h>
 #include <unistd.h>
 #include <stdlib.h>
@@ -3055,7 +3055,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: %lld us - skip sleep",
+               bt_shell_printf("Send is behind: %" PRId64 " us - skip sleep",
                                                        delta_us);
                delta_us = 1000;
        }