diff options
author | Quipyowert2 <38995150+Quipyowert2@users.noreply.github.com> | 2019-02-17 04:39:32 -0800 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2019-04-09 10:27:36 +0200 |
commit | a894128edd5a2c7b986ba247d39752830f97fa45 (patch) | |
tree | 5ae068c715c653b4fec1211102cbd90650245c32 /test | |
parent | d95062c481d3aa0fcb1e001e04b0b510a450aaa2 (diff) | |
download | alsa-lib-a894128edd5a2c7b986ba247d39752830f97fa45.tar.gz |
Printf unsigned long with %lu instead of %li (latency.c)
Signed-off-by: Nathan Mills <the.true.nathan.mills@gmail.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'test')
-rw-r--r-- | test/latency.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/latency.c b/test/latency.c index ddd5a7af..298bab8a 100644 --- a/test/latency.c +++ b/test/latency.c @@ -587,7 +587,7 @@ int main(int argc, char *argv[]) printf("Capture device is %s\n", cdevice); printf("Parameters are %iHz, %s, %i channels, %s mode\n", rate, snd_pcm_format_name(format), channels, block ? "blocking" : "non-blocking"); printf("Poll mode: %s\n", use_poll ? "yes" : "no"); - printf("Loop limit is %li frames, minimum latency = %i, maximum latency = %i\n", loop_limit, latency_min * 2, latency_max * 2); + printf("Loop limit is %lu frames, minimum latency = %i, maximum latency = %i\n", loop_limit, latency_min * 2, latency_max * 2); if ((err = snd_pcm_open(&phandle, pdevice, SND_PCM_STREAM_PLAYBACK, block ? 0 : SND_PCM_NONBLOCK)) < 0) { printf("Playback open error: %s\n", snd_strerror(err)); |