diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/audio.c | 4 | ||||
-rw-r--r-- | audio/audio_template.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/audio/audio.c b/audio/audio.c index 7634535230..f10025bf40 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -997,7 +997,7 @@ static int audio_get_avail (SWVoiceIn *sw) } ldebug ( - "%s: get_avail live %d ret %lld\n", + "%s: get_avail live %d ret %" PRId64 "\n", SW_NAME (sw), live, (((int64_t) live << 32) / sw->ratio) << sw->info.shift ); @@ -1023,7 +1023,7 @@ static int audio_get_free (SWVoiceOut *sw) dead = sw->hw->samples - live; #ifdef DEBUG_OUT - dolog ("%s: get_free live %d dead %d ret %lld\n", + dolog ("%s: get_free live %d dead %d ret %" PRId64 "\n", SW_NAME (sw), live, dead, (((int64_t) dead << 32) / sw->ratio) << sw->info.shift); #endif diff --git a/audio/audio_template.h b/audio/audio_template.h index 23d024201a..419a4aa463 100644 --- a/audio/audio_template.h +++ b/audio/audio_template.h @@ -542,7 +542,7 @@ uint64_t glue (AUD_get_elapsed_usec_, TYPE) (SW *sw, QEMUAudioTimeStamp *ts) cur_ts = sw->hw->ts_helper; old_ts = ts->old_ts; - /* dolog ("cur %lld old %lld\n", cur_ts, old_ts); */ + /* dolog ("cur %" PRId64 " old %" PRId64 "\n", cur_ts, old_ts); */ if (cur_ts >= old_ts) { delta = cur_ts - old_ts; |