Fixed bugs detected by Intel compiler

This commit is contained in:
Jaroslav Kysela 2004-04-20 13:42:48 +00:00
parent a66204cd12
commit 2bad31bbf4
4 changed files with 21 additions and 21 deletions

View file

@ -536,7 +536,7 @@ int snd_async_add_ctl_handler(snd_async_handler_t **handler, snd_ctl_t *ctl,
*/
snd_ctl_t *snd_async_handler_get_ctl(snd_async_handler_t *handler)
{
assert(handler->type = SND_ASYNC_HANDLER_CTL);
assert(handler->type == SND_ASYNC_HANDLER_CTL);
return handler->u.ctl;
}