Fix CXX_BUILD

This commit is contained in:
twinaphex 2017-06-28 18:04:07 +02:00
parent fe829e5eb0
commit fd11190e9d
1 changed files with 3 additions and 1 deletions

View File

@ -1531,7 +1531,9 @@ static struct pcm_params *pcm_params_get(unsigned int card, unsigned int device,
goto err_open;
}
params = calloc(1, sizeof(struct snd_pcm_hw_params));
params = (struct snd_pcm_hw_params*)
calloc(1, sizeof(struct snd_pcm_hw_params));
if (!params)
goto err_calloc;