summaryrefslogtreecommitdiff
path: root/src/pcm/pcm_plugin.c
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2005-05-06 14:09:17 +0000
committerJaroslav Kysela <perex@perex.cz>2005-05-06 14:09:17 +0000
commit412fb54e0dadf6da0ee899ef81fa8e067659690e (patch)
tree38f90bc2691f0bf925135db686e967b5566fe718 /src/pcm/pcm_plugin.c
parentf2099d57700990d03a7c19bf4d7a231ade566966 (diff)
downloadalsa-lib-412fb54e0dadf6da0ee899ef81fa8e067659690e.tar.gz
Fedora 4 patch - gcc4 fixes
Diffstat (limited to 'src/pcm/pcm_plugin.c')
-rw-r--r--src/pcm/pcm_plugin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/pcm_plugin.c b/src/pcm/pcm_plugin.c
index 68dd4d46..caca2e19 100644
--- a/src/pcm/pcm_plugin.c
+++ b/src/pcm/pcm_plugin.c
@@ -316,7 +316,7 @@ static snd_pcm_sframes_t snd_pcm_plugin_read_areas(snd_pcm_t *pcm,
snd_pcm_mmap_begin(slave, &slave_areas, &slave_offset, &slave_frames);
if (slave_frames == 0)
break;
- frames = plugin->read(pcm, areas, offset, frames,
+ frames = (plugin->read)(pcm, areas, offset, frames,
slave_areas, slave_offset, &slave_frames);
if (CHECK_SANITY(slave_frames > snd_pcm_mmap_capture_avail(slave))) {
SNDMSG("read overflow %ld > %ld", slave_frames,
@@ -488,7 +488,7 @@ snd_pcm_sframes_t snd_pcm_plugin_avail_update(snd_pcm_t *pcm)
return xfer > 0 ? (snd_pcm_sframes_t)xfer : err;
if (frames > cont)
frames = cont;
- frames = plugin->read(pcm, areas, hw_offset, frames,
+ frames = (plugin->read)(pcm, areas, hw_offset, frames,
slave_areas, slave_offset, &slave_frames);
snd_atomic_write_begin(&plugin->watom);
snd_pcm_mmap_hw_forward(pcm, frames);