examples/load_balancer: fix build with gcc 5.1
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 2 Jun 2015 13:42:08 +0000 (15:42 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 3 Jun 2015 13:51:44 +0000 (15:51 +0200)
commit4ca9aeb205cc528913cbc6531a3d5294987c7950
tree1fa4e91796fdb42d9f72626867649ba2377c981e
parent3d877053c0b88f3fc3636ab871f7afd89626aea8
examples/load_balancer: fix build with gcc 5.1

GCC 5.1 detects more out-of-bounds accesses:
error: array subscript is above array bounds [-Werror=array-bounds]

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
examples/load_balancer/config.c