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_abr.c b/ospfd/ospf_abr.c index 9f3a587..e23ace2 100644 --- a/ospfd/ospf_abr.c +++ b/ospfd/ospf_abr.c
@@ -596,7 +596,7 @@ struct summary_lsa *header; u_char *mp; metric = htonl (metric); - mp = (char *) &metric; + mp = (u_char *) &metric; mp++; header = (struct summary_lsa *) lsa->data; memcpy(header->metric, mp, 3);