many warning cleanups.
Contributed by Clive Stubbings.
This commit is contained in:
parent
7ff7528c85
commit
fecb5e7bdb
11 changed files with 27 additions and 27 deletions
12
lib/maca.c
12
lib/maca.c
|
@ -70,29 +70,29 @@ void Print_Packets(char *s) {
|
|||
int i = 0;
|
||||
printf("packet pool after %s:\n\r",s);
|
||||
p = free_head;
|
||||
printf("free_head: 0x%x ",free_head);
|
||||
printf("free_head: 0x%x ", (uint32_t) free_head);
|
||||
while(p != 0) {
|
||||
i++;
|
||||
p = p->left;
|
||||
printf("->0x%x",p);
|
||||
printf("->0x%x", (uint32_t) p);
|
||||
}
|
||||
printf("\n\r");
|
||||
|
||||
p = tx_head;
|
||||
printf("tx_head: 0x%x ",tx_head);
|
||||
printf("tx_head: 0x%x ", (uint32_t) tx_head);
|
||||
while(p != 0) {
|
||||
i++;
|
||||
p = p->left;
|
||||
printf("->0x%x",p);
|
||||
printf("->0x%x", (uint32_t) p);
|
||||
}
|
||||
printf("\n\r");
|
||||
|
||||
p = rx_head;
|
||||
printf("rx_head: 0x%x ",rx_head);
|
||||
printf("rx_head: 0x%x ", (uint32_t) rx_head);
|
||||
while(p != 0) {
|
||||
i++;
|
||||
p = p->left;
|
||||
printf("->0x%x",p);
|
||||
printf("->0x%x", (uint32_t) p);
|
||||
}
|
||||
printf("\n\r");
|
||||
printf("found %d packets\n\r",i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue