From 052fe22a25dfb0cbc1a23cba5efdcda98f26a627 Mon Sep 17 00:00:00 2001 From: hasso Date: Sun, 26 Sep 2004 16:09:34 +0000 Subject: Compiler warnings fixes. --- ospfd/ospf_lsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ospfd/ospf_lsa.c') 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) { -- cgit v1.2.3