module/mpd: silence overflow warning

This commit is contained in:
Daniel Eklöf 2019-01-20 11:35:20 +01:00
parent fa7a2f90a5
commit d86c9914e5

View file

@ -124,7 +124,7 @@ content(struct module *mod)
if (m->state == STATE_PLAY) {
elapsed += timespec_diff_milli_seconds(&now, &m->elapsed.when);
if (elapsed > m->duration) {
LOG_WARN(
LOG_DBG(
"dynamic update of elapsed overflowed: "
"elapsed=%"PRIu64", duration=%"PRIu64, elapsed, m->duration);
elapsed = m->duration;