Files
freeswitch/src
Sebastian Kemper 3128afeae7 [mod_opusfile] fix type errors
Since the last round of changes it fails to compile:

mod_opusfile.c: In function 'decode_stream_cb':
mod_opusfile.c:933:143: error: format '%lx' expects argument of type 'long unsigned int', but argument 8 has type 'switch_thread_id_t' {aka 'struct __pthread *'} [-Werror=format=]
  933 |                 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "[OGG/OPUS Stream Decode] decode_stream_cb(): switch_thread_self(): %lx\n",  switch_thread_self());
      |                                                                                                                                             ~~^      ~~~~~~~~~~~~~~~~~~~~
      |                                                                                                                                               |      |
      |                                                                                                                                               |      switch_thread_id_t {aka struct __pthread *}
      |                                                                                                                                               long unsigned int

Address this by applying the same casts that are also used in
src/mod/formats/mod_sndfile/test/test_sndfile.c already.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
2021-11-01 09:51:26 +01:00
..
2021-11-01 09:51:26 +01:00
2020-01-29 00:29:04 +04:00
2020-01-29 00:29:04 +04:00
2019-07-17 20:04:59 +04:00
2019-07-18 00:26:51 +04:00
2021-10-23 21:59:49 +03:00
2021-10-23 22:01:14 +03:00
2021-10-23 22:00:50 +03:00