X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/b2be8ad2d86c9f1c585c0117d5d85322c3da13b3..fd59ca36b13d704a06beb9b4c1f2bd73a0f67dea:/print-ospf.c diff --git a/print-ospf.c b/print-ospf.c index 8112f03c..c864ae99 100644 --- a/print-ospf.c +++ b/print-ospf.c @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.61 2006-12-13 08:21:49 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-ospf.c,v 1.62 2007-07-24 16:01:42 hannes Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -979,7 +979,7 @@ ospf_print(register const u_char *bp, register u_int length, case OSPF_AUTH_SIMPLE: printf("\n\tSimple text password: "); - safeputs(op->ospf_authdata, OSPF_AUTH_SIMPLE_LEN); + safeputs((const char *)op->ospf_authdata, OSPF_AUTH_SIMPLE_LEN); break; case OSPF_AUTH_MD5: