Minor bugfix: explicitly cast pointer argument in debug printf
This commit is contained in:
parent
f2fbb4b49d
commit
4efd570cf9
|
@ -45,7 +45,7 @@ void
|
|||
mac_call_sent_callback(mac_callback_t sent, void *ptr, int status, int num_tx)
|
||||
{
|
||||
PRINTF("mac_callback_t %p ptr %p status %d num_tx %d\n",
|
||||
sent, ptr, status, num_tx);
|
||||
(void *)sent, ptr, status, num_tx);
|
||||
switch(status) {
|
||||
case MAC_TX_COLLISION:
|
||||
PRINTF("mac: collision after %d tx\n", num_tx);
|
||||
|
|
Loading…
Reference in a new issue