From 95f0e50c5d8b0335de1dd47a1338f8693bef779d Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Mon, 8 Jan 2007 21:29:36 +0000 Subject: c should be u_char for printing option numbers. fix parameter request list option numbers >127 being negative. ok krw@ --- usr.sbin/tcpdump/print-bootp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/tcpdump') diff --git a/usr.sbin/tcpdump/print-bootp.c b/usr.sbin/tcpdump/print-bootp.c index 4e3102aa166..14498d2eb40 100644 --- a/usr.sbin/tcpdump/print-bootp.c +++ b/usr.sbin/tcpdump/print-bootp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-bootp.c,v 1.14 2006/05/21 11:17:20 canacar Exp $ */ +/* $OpenBSD: print-bootp.c,v 1.15 2007/01/08 21:29:35 stevesk Exp $ */ /* * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996, 1997 @@ -24,7 +24,7 @@ */ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-bootp.c,v 1.14 2006/05/21 11:17:20 canacar Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-bootp.c,v 1.15 2007/01/08 21:29:35 stevesk Exp $ (LBL)"; #endif #include @@ -273,7 +273,7 @@ rfc1048_print(register const u_char *bp, register u_int length) register u_char tag; register u_int len, size; register const char *cp; - register char c; + register u_char c; int first; u_int32_t ul; u_short us; -- cgit v1.2.3