Minor bugfix: explicitly cast pointer argument in debug printf
This commit is contained in:
parent
f2fbb4b49d
commit
4efd570cf9
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ void
|
||||||
mac_call_sent_callback(mac_callback_t sent, void *ptr, int status, int num_tx)
|
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",
|
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) {
|
switch(status) {
|
||||||
case MAC_TX_COLLISION:
|
case MAC_TX_COLLISION:
|
||||||
PRINTF("mac: collision after %d tx\n", num_tx);
|
PRINTF("mac: collision after %d tx\n", num_tx);
|
||||||
|
|
Loading…
Add table
Reference in a new issue