loader: gh989 - Fix incorrect array index
authorJan-Harald Fredriksen <jan-harald.fredriksen@arm.com>
Wed, 28 Sep 2016 10:10:24 +0000 (12:10 +0200)
committerMark Young <marky@lunarg.com>
Wed, 28 Sep 2016 14:52:17 +0000 (08:52 -0600)
commitbe75457a2cebdaec0e61d3d60f63b636438807a9
tree7a179e6382ee6497c265cccbf16f53875081fa08
parentb083b99f16123cefbc1381e69265987482ae7abb
loader: gh989 - Fix incorrect array index

An inner array loop was using an incorrect index to access the
appropriate layer in instance extension validation.

Change-Id: I27606fb32049bb531131ca29357d79491e3f96a7
loader/loader.c