]> code.delx.au - pulseaudio/commitdiff
alsa: make build gcc clean on 32bit
authorLennart Poettering <lennart@poettering.net>
Sun, 20 Sep 2009 01:17:36 +0000 (03:17 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 20 Sep 2009 01:17:36 +0000 (03:17 +0200)
src/modules/alsa/alsa-util.c

index 56d60dfbdb7e974c4321167dfaa89e1ad41b16f2..43a8e82900a24d97ebad1ad14fdcadd30597660b 100644 (file)
@@ -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