From c9e52be3f4d98943b67fbbe5d9a7ccd823b88326 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 26 Sep 2004 16:09:34 +0000 Subject: Compiler warnings fixes. --- ospfd/ospf_dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_dump.c') diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c index 3711e9f0..958baa40 100644 --- a/ospfd/ospf_dump.c +++ b/ospfd/ospf_dump.c @@ -649,7 +649,7 @@ ospf_header_dump (struct ospf_header *ospfh) break; case OSPF_AUTH_SIMPLE: memset (buf, 0, 9); - strncpy (buf, ospfh->u.auth_data, 8); + strncpy (buf, (char *) ospfh->u.auth_data, 8); zlog_info (" Simple Password %s", buf); break; case OSPF_AUTH_CRYPTOGRAPHIC: -- cgit v1.2.1