diff options
author | Paul Adenot <[email protected]> | 2023-04-18 17:25:49 +0200 |
---|---|---|
committer | Paul Adenot <[email protected]> | 2023-04-19 13:37:43 +0200 |
commit | 2840590affe5e438804d77aaa787144de6d375ec (patch) | |
tree | 495d55013944d0097f854d0c8ca0287063dd6116 | |
parent | 964a31b0fcfaff3a5137068cdafe01c6dfce2689 (diff) | |
download | cubeb-2840590affe5e438804d77aaa787144de6d375ec.tar.gz cubeb-2840590affe5e438804d77aaa787144de6d375ec.zip |
Fix formatting warning
-rw-r--r-- | src/cubeb_aaudio.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cubeb_aaudio.cpp b/src/cubeb_aaudio.cpp index b1ff3a4..1c98ed3 100644 --- a/src/cubeb_aaudio.cpp +++ b/src/cubeb_aaudio.cpp @@ -17,6 +17,7 @@ #include <condition_variable> #include <cstring> #include <dlfcn.h> +#include <inttypes.h> #include <memory> #include <mutex> #include <thread> @@ -1385,7 +1386,7 @@ aaudio_stream_get_position(cubeb_stream * stm, uint64_t * position) stm->previous_clock = *position; } - LOG("aaudio_stream_get_position: %ld", *position); + LOG("aaudio_stream_get_position: %" PRIu64 " frames", *position); return CUBEB_OK; } |