Signed-off-by: mirabilos <tg@xxxxxxxxxx> --- src/pcm/pcm.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 1064044c..eb53311c 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -2329,11 +2329,11 @@ int snd_pcm_status_dump(snd_pcm_status_t *status, snd_output_t *out) { assert(status); snd_output_printf(out, " state : %s\n", snd_pcm_state_name((snd_pcm_state_t) status->state)); - snd_output_printf(out, " trigger_time: %ld.%06ld\n", - status->trigger_tstamp.tv_sec, - status->trigger_tstamp.tv_nsec / 1000); - snd_output_printf(out, " tstamp : %ld.%06ld\n", - status->tstamp.tv_sec, status->tstamp.tv_nsec / 1000); + snd_output_printf(out, " trigger_time: %lld.%06ld\n", + (long long)status->trigger_tstamp.tv_sec, + (long)status->trigger_tstamp.tv_nsec / 1000L); + snd_output_printf(out, " tstamp : %lld.%06ld\n", + (long long)status->tstamp.tv_sec, (long)status->tstamp.tv_nsec / 1000L); snd_output_printf(out, " delay : %ld\n", (long)status->delay); snd_output_printf(out, " avail : %ld\n", (long)status->avail); snd_output_printf(out, " avail_max : %ld\n", (long)status->avail_max); -- 2.25.0 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx https://mailman.alsa-project.org/mailman/listinfo/alsa-devel