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_abr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_abr.c') diff --git a/ospfd/ospf_abr.c b/ospfd/ospf_abr.c index 9f3a587c..e23ace20 100644 --- a/ospfd/ospf_abr.c +++ b/ospfd/ospf_abr.c @@ -596,7 +596,7 @@ set_metric (struct ospf_lsa *lsa, u_int32_t metric) 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); -- cgit v1.2.1