1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

gnrc tx-sync: add cast for c++ compatibility

This commit is contained in:
Mumpfie 2021-05-04 16:59:56 +02:00
parent c71a52dc0c
commit 185570b034

View File

@ -108,7 +108,7 @@ gnrc_pktsnip_t * gnrc_tx_sync_split(gnrc_pktsnip_t *pkt);
static inline void gnrc_tx_complete(gnrc_pktsnip_t *pkt)
{
assert(IS_USED(MODULE_GNRC_TX_SYNC) && (pkt->type == GNRC_NETTYPE_TX_SYNC));
gnrc_tx_sync_t *sync = pkt->data;
gnrc_tx_sync_t *sync = (gnrc_tx_sync_t*)pkt->data;
mutex_unlock(&sync->signal);
}