From bfcdf3235934ad3bfe7f80ce23bc2a4f356003a4 Mon Sep 17 00:00:00 2001 From: kstailey Date: Sat, 19 Apr 1997 19:12:26 +0000 Subject: [PATCH] getopt() returns an int, not a char. (thorpej) --- usr.sbin/ipsend/ipsend/ipsend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/ipsend/ipsend/ipsend.c b/usr.sbin/ipsend/ipsend/ipsend.c index 84ea17026ab..23d5b0730b1 100644 --- a/usr.sbin/ipsend/ipsend/ipsend.c +++ b/usr.sbin/ipsend/ipsend/ipsend.c @@ -162,8 +162,8 @@ char **argv; tcphdr_t *tcp; ip_t *ip; char *name = argv[0], host[64], *gateway = NULL, *dev = NULL; - char *src = NULL, *dst, c, *s; - int mtu = 1500, olen = 0; + char *src = NULL, *dst, *s; + int mtu = 1500, olen = 0, c; /* * 65535 is maximum packet size...you never know... -- 2.20.1