From fbf4aa0064e4e15d4d5ddedecefb7e20b71e3fc4 Mon Sep 17 00:00:00 2001 From: "Daniel M. Weeks" Date: Fri, 22 Jan 2016 16:26:39 -0500 Subject: [PATCH] Remove unnecessary/unhelpful casts --- kiss.c | 2 +- kissnet.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss.c b/kiss.c index 0007d1f..db68d69 100644 --- a/kiss.c +++ b/kiss.c @@ -685,7 +685,7 @@ void kiss_send_rec_packet (int chan, unsigned char *fbuf, int flen) text_color_set(DW_COLOR_DEBUG); dw_printf ("\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); diff --git a/kissnet.c b/kissnet.c index 357c582..e377657 100644 --- a/kissnet.c +++ b/kissnet.c @@ -511,7 +511,7 @@ void kissnet_send_rec_packet (int chan, unsigned char *fbuf, int flen) text_color_set(DW_COLOR_DEBUG); dw_printf ("\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);