From: Takashi Iwai Date: Thu, 18 May 2000 17:52:58 +0000 (+0000) Subject: - Fix bad spin_unlock_* X-Git-Tag: v1.0.3~1263 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=4f85cf4d46316bb169b0b9a6345317be2e24a616;p=alsa-lib.git - Fix bad spin_unlock_* - Fix casts from 64 bit pointer to int --- diff --git a/src/pcm/pcm.c b/src/pcm/pcm.c index 5455ddf2..c014bc2c 100644 --- a/src/pcm/pcm.c +++ b/src/pcm/pcm.c @@ -488,7 +488,7 @@ int snd_pcm_voices_mask(snd_pcm_t *pcm, int channel, bitset_t *client_vmask) return pcm->ops->voices_mask(pcm, channel, client_vmask); } -int snd_pcm_bytes_per_second(snd_pcm_t *pcm, int channel) +ssize_t snd_pcm_bytes_per_second(snd_pcm_t *pcm, int channel) { struct snd_pcm_chan *chan; if (!pcm)