From: kstailey Date: Sat, 19 Apr 1997 19:12:26 +0000 (+0000) Subject: getopt() returns an int, not a char. (thorpej) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=bfcdf3235934ad3bfe7f80ce23bc2a4f356003a4;p=openbsd getopt() returns an int, not a char. (thorpej) --- 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...