commit | c9e52be3f4d98943b67fbbe5d9a7ccd823b88326 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Sun Sep 26 16:09:34 2004 +0000 |
committer | hasso <hasso> | Sun Sep 26 16:09:34 2004 +0000 |
tree | d4045a946af3be8bbdc303162778e8c44057e2f9 | |
parent | e473b032b860444b9656cee1654b0120f77b52b1 [diff] [blame] |
Compiler warnings fixes.
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c index 3711e9f..958baa4 100644 --- a/ospfd/ospf_dump.c +++ b/ospfd/ospf_dump.c
@@ -649,7 +649,7 @@ 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: