use size_t for indexes

ok christos@
This commit is contained in:
liamjfoy 2007-04-05 18:12:49 +00:00
parent 39b3c7f047
commit 72a3be8fc7

View File

@ -1,4 +1,4 @@
/* $NetBSD: ip6_flow.c,v 1.5 2007/03/23 17:35:02 macallan Exp $ */
/* $NetBSD: ip6_flow.c,v 1.6 2007/04/05 18:12:49 liamjfoy Exp $ */
/*-
* Copyright (c) 2007 The NetBSD Foundation, Inc.
@ -132,7 +132,7 @@ ip6flow_hash(struct ip6_hdr *ip6)
{
size_t hash;
uint32_t dst_sum, src_sum;
int idx;
size_t idx;
src_sum = ip6->ip6_src.s6_addr32[0] + ip6->ip6_src.s6_addr32[1]
+ ip6->ip6_src.s6_addr32[2] + ip6->ip6_src.s6_addr32[3];