]> git.alsa-project.org Git - alsa-lib.git/commitdiff
- Fix bad spin_unlock_*
authorTakashi Iwai <tiwai@suse.de>
Thu, 18 May 2000 17:52:58 +0000 (17:52 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 18 May 2000 17:52:58 +0000 (17:52 +0000)
- Fix casts from 64 bit pointer to int

src/pcm/pcm.c

index 5455ddf2425921940bddc10445d07580dc60f5af..c014bc2ccb067c670f48bb8733e51f1b70180123 100644 (file)
@@ -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)