summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tcp.c b/print-tcp.c
index ef7bcf6c..1b8fb4c4 100644
--- a/print-tcp.c
+++ b/print-tcp.c
@@ -820,7 +820,7 @@ static void
print_tcp_rst_data(netdissect_options *ndo,
const u_char *sp, u_int length)
{
- int c;
+ u_char c;
ND_PRINT(ND_TTEST_LEN(sp, length) ? " [RST" : " [!RST");
if (length > MAX_RST_DATA_LEN) {