diff options
author | hasso <hasso> | 2004-09-26 18:09:34 +0200 |
---|---|---|
committer | hasso <hasso> | 2004-09-26 18:09:34 +0200 |
commit | c9e52be3f4d98943b67fbbe5d9a7ccd823b88326 (patch) | |
tree | d4045a946af3be8bbdc303162778e8c44057e2f9 /ospfd/ospf_dump.c | |
parent | Compiler warnings fixes. (diff) | |
download | frr-c9e52be3f4d98943b67fbbe5d9a7ccd823b88326.tar.xz frr-c9e52be3f4d98943b67fbbe5d9a7ccd823b88326.zip |
Compiler warnings fixes.
Diffstat (limited to 'ospfd/ospf_dump.c')
-rw-r--r-- | ospfd/ospf_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_dump.c b/ospfd/ospf_dump.c index 3711e9f0f..958baa40b 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: |