diff options
author | hasso <hasso> | 2004-09-26 16:09:34 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-09-26 16:09:34 +0000 |
commit | c9e52be3f4d98943b67fbbe5d9a7ccd823b88326 (patch) | |
tree | d4045a946af3be8bbdc303162778e8c44057e2f9 /ospfd/ospf_lsa.c | |
parent | e473b032b860444b9656cee1654b0120f77b52b1 (diff) |
Compiler warnings fixes.
Diffstat (limited to 'ospfd/ospf_lsa.c')
-rw-r--r-- | ospfd/ospf_lsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_lsa.c b/ospfd/ospf_lsa.c index 34d71b6c..944af64d 100644 --- a/ospfd/ospf_lsa.c +++ b/ospfd/ospf_lsa.c @@ -186,7 +186,7 @@ ospf_lsa_checksum (struct lsa_header *lsa) lsa->checksum = 0; length = ntohs (lsa->length) - 2; - sp = (char *) &lsa->options; + sp = (u_char *) &lsa->options; for (ep = sp + length; sp < ep; sp = q) { |