Changed data type of alsa-lib handles from 'void *' to the specific type for

the handle in use. This should be more type-safe as the compiler will perform
checking on type now.
This commit is contained in:
Frank van de Pol 1999-06-02 00:40:30 +00:00
parent 9679707a00
commit 19811bb9b4
15 changed files with 417 additions and 404 deletions

View file

@ -94,7 +94,7 @@ unsigned int snd_cards_mask(void)
int snd_card_name(const char *string)
{
int card, bitmask;
void *handle;
snd_ctl_t *handle;
struct snd_ctl_hw_info info;
if (!string || *string == '\0')