Two trivial compile warning fixes:
- Add a missing return to snd_pcm_hw_clear_timer_queue()
- params->info is no long but int
The second one might have hit already on 64bit machine, but alas,
no one didn't notice it.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
snd_timer_tread_t rbuf[4];
snd_timer_read(hw->period_timer, rbuf, sizeof(rbuf));
}
+ return 0;
}
static int snd_pcm_hw_poll_descriptors_count(snd_pcm_t *pcm ATTRIBUTE_UNUSED)
return err;
}
- if (params->info != ~0UL) {
+ if (params->info != ~0U) {
params->info &= ~0xf0000000;
params->info |= (pcm->monotonic ? SND_PCM_INFO_MONOTONIC : 0);
}