Skip to content

Commit

Permalink
Fix a benign type definition mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
mikebrady committed May 16, 2018
1 parent 8f06651 commit 9aa920a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio_ao.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ static void deinit(void) {
static void start(__attribute__((unused)) int sample_rate,
__attribute__((unused)) int sample_format) {}

static void play(short buf[], int samples) { ao_play(dev, (char *)buf, samples * 4); }
static void play(void * buf, int samples) { ao_play(dev, buf, samples * 4); }

static void stop(void) {}

Expand Down

0 comments on commit 9aa920a

Please sign in to comment.