Module: sems Branch: master Commit: e44da8ad63b9052b246e8c3b50987fde2ec8ef36 URL: https://github.com/sems-server/sems/commit/e44da8ad63b9052b246e8c3b50987fde2ec8ef36
Author: Juha Heinanen <j...@tutpro.com> Committer: Juha Heinanen <j...@tutpro.com> Date: 2016-04-26T21:22:22+03:00 apps/mp3: avoid compiler warning on module_load parameter --- Modified: apps/mp3/mp3.c --- Diff: https://github.com/sems-server/sems/commit/e44da8ad63b9052b246e8c3b50987fde2ec8ef36.diff Patch: https://github.com/sems-server/sems/commit/e44da8ad63b9052b246e8c3b50987fde2ec8ef36.patch --- diff --git a/apps/mp3/mp3.c b/apps/mp3/mp3.c index c65604c..22c018f 100644 --- a/apps/mp3/mp3.c +++ b/apps/mp3/mp3.c @@ -70,7 +70,7 @@ static int MP3_close(FILE* fp, struct amci_file_desc_t* fmt_desc, int options, l static unsigned int mp3_bytes2samples(long h_codec, unsigned int num_bytes); static unsigned int mp3_samples2bytes(long h_codec, unsigned int num_samples); -BEGIN_EXPORTS( "mp3", MP3_ModuleLoad, MP3_ModuleDestroy ) +BEGIN_EXPORTS( "mp3", (amci_codec_module_load_t)MP3_ModuleLoad, MP3_ModuleDestroy ) BEGIN_CODECS CODEC( CODEC_MP3, Pcm16_2_MP3, MP3_2_Pcm16, (amci_plc_t)0, (amci_codec_init_t)MP3_create, (amci_codec_destroy_t)MP3_destroy, mp3_bytes2samples, mp3_samples2bytes) END_CODECS _______________________________________________ Semsdev mailing list Semsdev@lists.iptel.org http://lists.iptel.org/mailman/listinfo/semsdev