diff options
| author | razorloves <razorloves@gmail.com> | 2018-08-12 04:24:46 -0500 |
|---|---|---|
| committer | LorDClockaN <davor@losinj.com> | 2019-02-10 13:31:08 +0100 |
| commit | 07ceb2c191e4eaa6e8eb2de4c2ff52a699ae7b74 (patch) | |
| tree | b04e0d4a54ca6d8070ada1214caf8b1a50be817a | |
| parent | 805056830541eb86b7ac751c48fc1043a60c7cf4 (diff) | |
audio: Change printf format specifier from %zd to %ldp9.0
Fixes following error:
"format specifies type 'ssize_t' (aka 'int') but the
argument has type 'ssize_t' (aka 'long')"
Change-Id: I06c1eedec425d207373cfe41fd39e98bf456581b
| -rw-r--r-- | hal/audio_hw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hal/audio_hw.c b/hal/audio_hw.c index 8e04bf8c..95e82265 100644 --- a/hal/audio_hw.c +++ b/hal/audio_hw.c @@ -3113,7 +3113,7 @@ exit: error_log_log(out->error_log, error_code, audio_utils_get_real_time_ns()); if (out->usecase != USECASE_AUDIO_PLAYBACK_OFFLOAD) { ALOGE_IF(out->pcm != NULL, - "%s: error %zd - %s", __func__, ret, pcm_get_error(out->pcm)); + "%s: error %ld - %s", __func__, ret, pcm_get_error(out->pcm)); sleeptime_us = frames * 1000000LL / out_get_sample_rate(&out->stream.common); // usleep not guaranteed for values over 1 second but we don't limit here. } |
