Remove unnecessary/unhelpful casts

This commit is contained in:
Daniel M. Weeks 2016-01-22 16:26:39 -05:00
parent 24fe207120
commit fbf4aa0064
2 changed files with 2 additions and 2 deletions

2
kiss.c
View File

@ -685,7 +685,7 @@ void kiss_send_rec_packet (int chan, unsigned char *fbuf, int flen)
text_color_set(DW_COLOR_DEBUG); text_color_set(DW_COLOR_DEBUG);
dw_printf ("\n"); dw_printf ("\n");
dw_printf ("Packet content before adding KISS framing and any escapes:\n"); dw_printf ("Packet content before adding KISS framing and any escapes:\n");
hex_dump ((char*)fbuf, flen); hex_dump (fbuf, flen);
} }
kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff); kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff);

View File

@ -511,7 +511,7 @@ void kissnet_send_rec_packet (int chan, unsigned char *fbuf, int flen)
text_color_set(DW_COLOR_DEBUG); text_color_set(DW_COLOR_DEBUG);
dw_printf ("\n"); dw_printf ("\n");
dw_printf ("Packet content before adding KISS framing and any escapes:\n"); dw_printf ("Packet content before adding KISS framing and any escapes:\n");
hex_dump ((char*)fbuf, flen); hex_dump (fbuf, flen);
} }
kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff); kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff);