Skip to content

Commit

Permalink
Fixed a compilation warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Botcazou committed Mar 1, 2004
1 parent d15a5e9 commit 5128935
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/alsa9.c
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ static int alsa_init(int input, int voices)
ALSA9_CHECK(snd_pcm_hw_params_get_period_size(hwparams, &alsa_bufsize, NULL));
ALSA9_CHECK(snd_pcm_hw_params_get_periods(hwparams, &alsa_fragments, NULL));

TRACE ("ALSA 9 driver: alsa_bufsize = %i, alsa_fragments = %i\n", alsa_bufsize, alsa_fragments);
TRACE ("ALSA 9 driver: alsa_bufsize = %ld, alsa_fragments = %d\n", alsa_bufsize, alsa_fragments);

ALSA9_CHECK(snd_pcm_sw_params_current(pcm_handle, swparams));
ALSA9_CHECK(snd_pcm_sw_params_set_start_threshold(pcm_handle, swparams, alsa_bufsize));
Expand Down

0 comments on commit 5128935

Please sign in to comment.