]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/route6.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / bsd / netinet6 / route6.c
index 87af9c753bae7a37991a2acb19c6567a1ed3f89d..0a3d9b1ceb33715785d80d43e0e3251dd7f57dff 100644 (file)
@@ -114,7 +114,7 @@ route6_input(struct mbuf **mp, int *offp, int proto)
                }
                ip6stat.ip6s_badoptions++;
                icmp6_error(m, ICMP6_PARAM_PROB, ICMP6_PARAMPROB_HEADER,
-                   (caddr_t)&rh->ip6r_type - (caddr_t)ip6);
+                   (int)((caddr_t)&rh->ip6r_type - (caddr_t)ip6));
                return IPPROTO_DONE;
        }