summaryrefslogtreecommitdiffstats
path: root/src/modules/alsa
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-09-20 03:17:36 +0200
committerLennart Poettering <lennart@poettering.net>2009-09-20 03:17:36 +0200
commit88b777311d12502e36e2c74898015bcd55d92155 (patch)
tree12d9d073dd40b799c0503f127b1768dadb3c2023 /src/modules/alsa
parent33b45cd72aa356a9f522af417467f6d3d7863523 (diff)
alsa: make build gcc clean on 32bit
Diffstat (limited to 'src/modules/alsa')
-rw-r--r--src/modules/alsa/alsa-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c
index 56d60dfb..43a8e829 100644
--- a/src/modules/alsa/alsa-util.c
+++ b/src/modules/alsa/alsa-util.c
@@ -288,7 +288,7 @@ int pa_alsa_set_hw_params(
if ((ret = snd_pcm_hw_params_get_buffer_size_max(hwparams, &max_frames)) < 0)
pa_log_warn("snd_pcm_hw_params_get_buffer_size_max() failed: %s", pa_alsa_strerror(ret));
else
- pa_log_debug("Maximum hw buffer size is %lu ms", (long unsigned) max_frames * PA_MSEC_PER_SEC / _ss.rate);
+ pa_log_debug("Maximum hw buffer size is %lu ms", (long unsigned) (max_frames * PA_MSEC_PER_SEC / _ss.rate));
/* Some ALSA drivers really don't like if we set the buffer
* size first and the number of periods second. (which would