From: Lennart Poettering Date: Sun, 20 Sep 2009 01:17:36 +0000 (+0200) Subject: alsa: make build gcc clean on 32bit X-Git-Tag: v0.9.19~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=88b777311d12502e36e2c74898015bcd55d92155;p=platform%2Fupstream%2Fpulseaudio.git alsa: make build gcc clean on 32bit --- diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c index 56d60df..43a8e82 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