diff options
| -rw-r--r-- | src/pcm.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -1156,7 +1156,7 @@ snd_pcm_hw_params_set_periods_near(snd_pcm_t *pcm, snd_pcm_hw_params_t *params,        WARNX("%u", *val);        unsigned int round = params->par.appbufsz / *val;        assert(sizeof(params->par.round) == sizeof(round)); -      const int ret = update(pcm, ¶ms->par, ¶ms->par.round, &round, sizeof(*val)); +      const int ret = update(pcm, ¶ms->par, ¶ms->par.round, &round, sizeof(round));        *val = params->par.appbufsz / params->par.round;        return ret;     } | 
