From: Uwe Hermann Date: Thu, 30 Aug 2018 18:42:05 +0000 (+0200) Subject: srd_decoder_unload_all(): Fix a -Wcast-function-type compiler warning. X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=commitdiff_plain;h=2842721f189c5338d268a6e70002936289ae6069;hp=2842721f189c5338d268a6e70002936289ae6069 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); ^ ---