srd_exit(): Fix a -Wcast-function-type compiler warning.
authorUwe Hermann <uwe@hermann-uwe.de>
Thu, 30 Aug 2018 18:46:43 +0000 (20:46 +0200)
committerUwe Hermann <uwe@hermann-uwe.de>
Thu, 30 Aug 2018 20:21:03 +0000 (22:21 +0200)
commit577af027774c422a1d5a73b7a8d1da03caa4e068
tree57764e9eff380a2a174a0024b62fdb504596a7f3
parent2842721f189c5338d268a6e70002936289ae6069
srd_exit(): Fix a -Wcast-function-type compiler warning.

  srd.c: In function ‘srd_exit’:
  srd.c:310:28: warning: cast between incompatible function types from ‘int (*)(struct srd_session *)’ to ‘void (*)(void *, void *)’ [-Wcast-function-type]
    g_slist_foreach(sessions, (GFunc)srd_session_destroy, NULL);
                              ^
srd.c