]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - alsa_write.c
Fix two gcc warnings.
[paraslash.git] / alsa_write.c
index 0bb3de38d6a06dd81562a95e518453fd666e4991..df39716fbdd36e1a608c6c197cc3a8d3b36e8a49 100644 (file)
@@ -116,7 +116,7 @@ static int alsa_init(struct private_alsa_write_data *pad,
                * pad->channels / 8;
        if (pad->bytes_per_frame <= 0)
                return -E_PHYSICAL_WIDTH;
-       PARA_INFO_LOG("bytes per frame: %zu\n", pad->bytes_per_frame);
+       PARA_INFO_LOG("bytes per frame: %d\n", pad->bytes_per_frame);
        if (snd_pcm_nonblock(pad->handle, 1))
                PARA_ERROR_LOG("failed to set nonblock mode\n");
        return 1;