Fedora 4 patch - gcc4 fixes

This commit is contained in:
Jaroslav Kysela 2005-05-06 14:09:17 +00:00
parent f2099d5770
commit 412fb54e0d
7 changed files with 13 additions and 13 deletions

View file

@ -485,7 +485,7 @@ ssize_t snd_hwdep_read(snd_hwdep_t *hwdep, void *buffer, size_t size)
assert(hwdep);
assert(((hwdep->mode & O_ACCMODE) == O_RDONLY) || ((hwdep->mode & O_ACCMODE) == O_RDWR));
assert(buffer || size == 0);
return hwdep->ops->read(hwdep, buffer, size);
return (hwdep->ops->read)(hwdep, buffer, size);
}
/**