srd_decoder_unload_all(): Fix a -Wcast-function-type compiler warning.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 30 Aug 2018 18:42:05 +0000 (20:42 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 30 Aug 2018 20:21:03 +0000 (22:21 +0200)
commit2842721f189c5338d268a6e70002936289ae6069
treea2ef89de670b5d6fc35932f7815e6f49e84fa050
parentc7b211b18466c69df976a6d71f1c8ba30145f14c
srd_decoder_unload_all(): Fix a -Wcast-function-type compiler warning.

  decoder.c: In function ‘srd_decoder_unload_all’:
  decoder.c:1080:27: warning: cast between incompatible function types from ‘int (*)(struct srd_decoder *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type]
    g_slist_foreach(pd_list, (GFunc)srd_decoder_unload, NULL);
                           ^
decoder.c