X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=alsa_write.c;h=cfae4fb9e20b322e36764d92806ba9f842ed1b0a;hp=0f0f1f7d152ef7d3d0b2086f64ffd4f45de2b283;hb=288365e77a154b98e0a175be2801da5a15e2c0d3;hpb=f8620d627a59414b3a63c28f245201f4dd273880 diff --git a/alsa_write.c b/alsa_write.c index 0f0f1f7d..cfae4fb9 100644 --- a/alsa_write.c +++ b/alsa_write.c @@ -133,7 +133,7 @@ static int alsa_open(struct writer_node *w) return -E_SW_PARAMS; pad->bytes_per_frame = snd_pcm_format_physical_width(FORMAT) * pad->channels / 8; - PARA_INFO_LOG("bytes per frame: %d\n", pad->bytes_per_frame); + PARA_INFO_LOG("bytes per frame: %zu\n", pad->bytes_per_frame); if (snd_pcm_nonblock(pad->handle, 1)) PARA_ERROR_LOG("failed to set nonblock mode\n"); return period_size * pad->bytes_per_frame;