diff options
author | hasso <hasso> | 2004-09-26 16:09:34 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-09-26 16:09:34 +0000 |
commit | 052fe22a25dfb0cbc1a23cba5efdcda98f26a627 (patch) | |
tree | f1ac1aed444088f00d533834ab5993b3f081107c /ospfd/ospf_abr.c | |
parent | 9c7534d2b2bdd5b4b6f7afa19fe4def45cd930f7 (diff) | |
download | quagga-052fe22a25dfb0cbc1a23cba5efdcda98f26a627.tar.bz2 quagga-052fe22a25dfb0cbc1a23cba5efdcda98f26a627.tar.xz |
Compiler warnings fixes.
Diffstat (limited to 'ospfd/ospf_abr.c')
-rw-r--r-- | ospfd/ospf_abr.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |