Browse files

Fix build break on linux

  • Loading branch information...
1 parent 20f5bd9 commit 8b388992db571f5a2c2ddc77c08832c3ad1ce277 @andoma committed Feb 26, 2014
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/backend/sid/sid.c
  2. +1 −1 src/fileaccess/fa_gmefile.c
View
2 src/backend/sid/sid.c
@@ -112,7 +112,7 @@ be_sid2player_play(const char *url0, media_pipe_t *mp,
sample += CHUNK_SIZE;
- int16_t *samples = mb->mb_data;
+ int16_t *samples = (void *)mb->mb_data;
sidcxx_play(player, samples,
CHUNK_SIZE * sizeof(int16_t) * mb->mb_channels);
View
2 src/fileaccess/fa_gmefile.c
@@ -218,7 +218,7 @@ fa_gme_playfile_internal(media_pipe_t *mp, const void *buf, size_t size,
playinfo_register_play(url, 1);
}
- gme_play(emu, CHUNK_SIZE * mb->mb_channels, mb->mb_data);
+ gme_play(emu, CHUNK_SIZE * mb->mb_channels, (void *)mb->mb_data);
}
}

0 comments on commit 8b38899

Please sign in to comment.