mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 15:45:56 -05:00
[pipe] Change int64_t print mask for log message
Removes compiler warning
This commit is contained in:
parent
2f702ed3ef
commit
67f16138c5
@ -39,6 +39,7 @@
|
||||
#include <stdbool.h>
|
||||
#include <unistd.h>
|
||||
#include <stdint.h>
|
||||
#include <inttypes.h>
|
||||
#include <fcntl.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
@ -366,7 +367,7 @@ handle_progress(struct input_metadata *m, char *progress)
|
||||
m->pos_ms = (pos - start) * 1000 / pipe_sample_rate;
|
||||
m->len_ms = (end > start) ? (end - start) * 1000 / pipe_sample_rate : 0;
|
||||
|
||||
DPRINTF(E_DBG, L_PLAYER, "Received Shairport metadata progress: %ld/%ld/%ld => %d/%u ms\n", start, pos, end, m->pos_ms, m->len_ms);
|
||||
DPRINTF(E_DBG, L_PLAYER, "Received Shairport metadata progress: %" PRIi64 "/%" PRIi64 "/%" PRIi64 " => %d/%u ms\n", start, pos, end, m->pos_ms, m->len_ms);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user