Minor bugfix: explicitly cast pointer argument in debug printf

This commit is contained in:
Adam Dunkels 2013-03-17 23:43:03 +01:00
parent f2fbb4b49d
commit 4efd570cf9

View file

@ -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);