*/
#ifndef lint
-static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-tftp.c,v 1.34 2003-02-19 08:01:36 guy Exp $ (LBL)";
+static const char rcsid[] _U_ =
+ "@(#) $Header: /tcpdump/master/tcpdump/print-tftp.c,v 1.35.2.2 2003-11-16 08:51:50 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
putchar('"');
/* Print the mode and any options */
- while ((p = strchr(p, '\0')) != NULL) {
- if (length <= ((unsigned)p - (unsigned)&tp->th_block))
+ while ((p = (const u_char *)strchr((const char *)p, '\0')) != NULL) {
+ if (length <= (u_int)(p - (const u_char *)&tp->th_block))
break;
p++;
if (*p != '\0') {