Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fbf4aa0

Browse files
committedJan 25, 2016
Remove unnecessary/unhelpful casts
1 parent 24fe207 commit fbf4aa0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎kiss.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ void kiss_send_rec_packet (int chan, unsigned char *fbuf, int flen)
685685
text_color_set(DW_COLOR_DEBUG);
686686
dw_printf ("\n");
687687
dw_printf ("Packet content before adding KISS framing and any escapes:\n");
688-
hex_dump ((char*)fbuf, flen);
688+
hex_dump (fbuf, flen);
689689
}
690690

691691
kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff);

‎kissnet.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ void kissnet_send_rec_packet (int chan, unsigned char *fbuf, int flen)
511511
text_color_set(DW_COLOR_DEBUG);
512512
dw_printf ("\n");
513513
dw_printf ("Packet content before adding KISS framing and any escapes:\n");
514-
hex_dump ((char*)fbuf, flen);
514+
hex_dump (fbuf, flen);
515515
}
516516

517517
kiss_len = kiss_encapsulate (stemp, flen+1, kiss_buff);

0 commit comments

Comments
 (0)
Please sign in to comment.