X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/9e67c058df490bd466894a82e354c6f13d815426..f72fe0d0de6eb91663b005b7d061ecebb555d667:/print-zephyr.c diff --git a/print-zephyr.c b/print-zephyr.c index 9727adaa..55d1f4a5 100644 --- a/print-zephyr.c +++ b/print-zephyr.c @@ -20,7 +20,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.2 2001-09-11 02:37:12 guy Exp $"; + "@(#) $Header: /tcpdump/master/tcpdump/print-zephyr.c,v 1.4 2002-04-27 23:39:25 guy Exp $"; #endif #ifdef HAVE_CONFIG_H @@ -56,7 +56,7 @@ struct z_packet { /* Other fields follow here.. */ }; -enum { +enum z_packet_type { Z_PACKET_UNSAFE = 0, Z_PACKET_UNACKED, Z_PACKET_ACKED, @@ -66,7 +66,7 @@ enum { Z_PACKET_SERVNAK, Z_PACKET_CLIENTACK, Z_PACKET_STAT -} z_packet_type; +}; static struct tok z_types[] = { { Z_PACKET_UNSAFE, "unsafe" }, @@ -122,7 +122,7 @@ str_to_lower(char *string) string = z_buf; while (*string) { - *string = tolower(*string); + *string = tolower((unsigned char)(*string)); string++; }